@ledgerhq/native-ui 0.50.0-nightly.20251205023918 → 0.50.0-nightly.20251206023719

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAc5E,eAAO,MAAM,OAAO,kHAWjB,YAAY,KAAG,MAAM,YAqBvB,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,aAAa,KAAG,MAAM,YAE9C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAc5E,eAAO,MAAM,OAAO,kHAWjB,YAAY,KAAG,MAAM,YAmBvB,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,aAAa,KAAG,MAAM,YAE9C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -12,6 +12,6 @@ const TabBox = styled(Pressable) `
12
12
  background-color: ${(p) => p.isActive ? p.activeBg ?? p.theme.colors.primary.c20 : p.inactiveBg ?? "transparent"};
13
13
  `;
14
14
  export const ChipTab = ({ onPress, isActive, label, disabled, activeBg, activeColor, inactiveBg, inactiveColor, stretchItems, size = "medium", }) => (React.createElement(TabBox, { activeBg: activeBg, disabled: disabled, inactiveBg: inactiveBg, isActive: isActive, stretchItems: stretchItems, onPressIn: onPress, size: size },
15
- React.createElement(Text, { variant: "small", fontWeight: "semiBold", color: isActive ? activeColor ?? "palette.neutral.c100" : inactiveColor ?? "palette.neutral.c80", textAlign: "center" }, label)));
15
+ React.createElement(Text, { variant: "small", fontWeight: "semiBold", color: isActive ? activeColor ?? "neutral.c100" : inactiveColor ?? "neutral.c80", textAlign: "center" }, label)));
16
16
  const ChipTabs = (props) => (React.createElement(TemplateTabs, { ...props, Item: ChipTab }));
17
17
  export default ChipTabs;
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/pre-ldls/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAWzC,eAAO,MAAM,GAAG;oBAKE,SAAS,CAAC,eAAe,CAAC;cAChC,SAAS;;uBAepB,CAAC"}
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/pre-ldls/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAWzC,eAAO,MAAM,GAAG;oBAKE,SAAS,CAAC,eAAe,CAAC;cAChC,SAAS;;uBAUpB,CAAC"}
@@ -10,5 +10,5 @@ const Wrapper = styled.View `
10
10
  `;
11
11
  export const Tag = ({ textTransform = "none", children, spacing = "sm", }) => {
12
12
  return (React.createElement(Wrapper, { testID: "tag", "$spacing": spacing },
13
- React.createElement(Text, { color: "palette.neutral.c70", fontSize: "10px", lineHeight: "16px", textTransform: textTransform }, children)));
13
+ React.createElement(Text, { color: "neutral.c70", fontSize: "10px", lineHeight: "16px", textTransform: textTransform }, children)));
14
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sharedStoryBook.d.ts","sourceRoot":"","sources":["../../../src/pre-ldls/components/sharedStoryBook.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,gBAAgB,sIAI5B,CAAC;AAEF,eAAO,MAAM,WAAW,mBAA2B,CAAC;AAEpD,eAAO,MAAM,kBAAkB,iBAAkB,OAAO,sBAoBvD,CAAC"}
1
+ {"version":3,"file":"sharedStoryBook.d.ts","sourceRoot":"","sources":["../../../src/pre-ldls/components/sharedStoryBook.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,gBAAgB,sIAI5B,CAAC;AAEF,eAAO,MAAM,WAAW,mBAA2B,CAAC;AAEpD,eAAO,MAAM,kBAAkB,iBAAkB,OAAO,sBAevD,CAAC"}
@@ -9,5 +9,5 @@ export const BalanceContainer = styled.View `
9
9
  `;
10
10
  export const leftElement = React.createElement(Tag, null, "1.34% APY");
11
11
  export const createRightElement = (discreetMode) => (React.createElement(BalanceContainer, null,
12
- React.createElement(Text, { fontSize: "14px", variant: "largeLineHeight", fontWeight: "semiBold", color: "palette.neutral.c100" }, discreetMode ? "$***" : "$5,969.83"),
13
- React.createElement(Text, { fontSize: "12px", lineHeight: "16px", variant: "bodyLineHeight", fontWeight: "medium", color: "palette.neutral.c70" }, discreetMode ? "*** BTC" : "0.118 BTC")));
12
+ React.createElement(Text, { fontSize: "14px", variant: "largeLineHeight", fontWeight: "semiBold", color: "neutral.c100" }, discreetMode ? "$***" : "$5,969.83"),
13
+ React.createElement(Text, { fontSize: "12px", lineHeight: "16px", variant: "bodyLineHeight", fontWeight: "medium", color: "neutral.c70" }, discreetMode ? "*** BTC" : "0.118 BTC")));
@@ -15,12 +15,7 @@ export type Theme = {
15
15
  radii: number[];
16
16
  fontSizes: number[];
17
17
  space: number[];
18
- colors: ColorPalette & {
19
- /**
20
- * @deprecated Do not use the .palette prefix anymore!
21
- */
22
- palette: ColorPalette;
23
- };
18
+ colors: ColorPalette;
24
19
  zIndexes: number[];
25
20
  };
26
21
  declare const theme: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src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C,CAAC;AAEzD,MAAM,MAAM,UAAU,CAAC,IAAI,EAAE,OAAO,SAAS,MAAM,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAG3F,eAAO,MAAM,SAAS,4NAGrB,CAAC;AAqBF,eAAO,MAAM,KAAK,UAAY,CAAC;AAC/B,eAAO,MAAM,QAAQ,UAAwC,CAAC;AAE9D,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE;QACL,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,KAWZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -51,10 +51,7 @@ const theme = {
51
51
  radii,
52
52
  fontSizes,
53
53
  space,
54
- colors: {
55
- ...palettes.light,
56
- palette: palettes.light,
57
- },
54
+ colors: palettes.light,
58
55
  zIndexes,
59
56
  };
60
57
  export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.50.0-nightly.20251205023918",
3
+ "version": "0.50.0-nightly.20251206023719",
4
4
  "description": "Ledger Live - Mobile UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,11 +36,11 @@
36
36
  "lib/**/*"
37
37
  ],
38
38
  "dependencies": {
39
- "@ledgerhq/crypto-icons": "1.3.0",
39
+ "@ledgerhq/crypto-icons": "1.4.0",
40
40
  "color": "^4.0.0",
41
41
  "rn-range-slider": "2.1.1",
42
42
  "styled-system": "^5.1.5",
43
- "@ledgerhq/icons-ui": "^0.17.0-nightly.20251205023918",
43
+ "@ledgerhq/icons-ui": "^0.17.0-nightly.20251206023719",
44
44
  "@ledgerhq/ui-shared": "^0.5.0"
45
45
  },
46
46
  "peerDependencies": {