@ledgerhq/native-ui 0.14.0-protect.0 → 0.14.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.
@@ -40,7 +40,6 @@ const Container = styled(Flex) `
40
40
  padding: 20px 16px;
41
41
  `;
42
42
  export default function TimelineItem({ item, formatEstimatedTime, isFirstItem, isLastItem, setActiveIndex, index, }) {
43
- var _a;
44
43
  /**
45
44
  * Having an initial value of null will prevent having "height: 0" before the
46
45
  * initial call of onLayout.
@@ -75,7 +74,7 @@ export default function TimelineItem({ item, formatEstimatedTime, isFirstItem, i
75
74
  ? "neutral.c80"
76
75
  : isLastItem
77
76
  ? "success.c100"
78
- : "primary.c90" }, item.status === "completed" ? (_a = item.doneTitle) !== null && _a !== void 0 ? _a : item.title : item.title),
77
+ : "primary.c90" }, item.title),
79
78
  (item === null || item === void 0 ? void 0 : item.estimatedTime) && item.status === "active" && (React.createElement(Tag, null, formatEstimatedTime
80
79
  ? formatEstimatedTime(item.estimatedTime)
81
80
  : `${item.estimatedTime / 60} min`))),
@@ -8,7 +8,6 @@ export declare enum ItemStatus {
8
8
  export type Item = {
9
9
  status: ItemStatus;
10
10
  title: string;
11
- doneTitle?: string;
12
11
  estimatedTime?: number;
13
12
  renderBody?: (isDisplayed?: boolean) => ReactNode;
14
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.14.0-protect.0",
3
+ "version": "0.14.0",
4
4
  "description": "Ledger Live - Mobile UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,7 +43,7 @@
43
43
  "styled-system": "^5.1.5",
44
44
  "victory-native": "^35.5.5",
45
45
  "@ledgerhq/crypto-icons-ui": "^0.2.1",
46
- "@ledgerhq/icons-ui": "^0.3.3-protect.0",
46
+ "@ledgerhq/icons-ui": "^0.3.3",
47
47
  "@ledgerhq/ui-shared": "^0.1.10"
48
48
  },
49
49
  "peerDependencies": {