@ledgerhq/native-ui 0.24.1-nightly.1 → 0.25.0-nightly.2

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,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { BaseTabsProps, TabItemProps } from "../TemplateTabs";
3
- export declare const ChipTab: ({ onPress, isActive, label, disabled, }: TabItemProps) => React.ReactElement;
3
+ export declare const ChipTab: ({ onPress, isActive, label, disabled, activeBg, activeColor, inactiveBg, inactiveColor, stretchItems, size, }: TabItemProps) => React.ReactElement;
4
4
  declare const ChipTabs: (props: BaseTabsProps) => React.ReactElement;
5
5
  export default ChipTabs;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAa5E,eAAO,MAAM,OAAO,4CAKjB,YAAY,KAAG,MAAM,YAavB,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,YAqBvB,CAAC;AAEF,QAAA,MAAM,QAAQ,UAAW,aAAa,KAAG,MAAM,YAE9C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -5,16 +5,13 @@ import { TouchableOpacity } from "react-native";
5
5
  import TemplateTabs from "../TemplateTabs";
6
6
  const TabBox = styled(TouchableOpacity) `
7
7
  text-align: center;
8
+ flex-grow: ${(p) => (p.stretchItems ? "1" : "0")};
8
9
  margin: auto;
9
- flex: 1;
10
- padding: ${(p) => p.theme.space[5]}px 0;
10
+ padding: ${(p) => p.theme.space[p.size === "small" ? 3 : 5]}px;
11
11
  border-radius: 8px;
12
- background-color: ${(p) => (p.isActive ? p.theme.colors.palette.primary.c20 : "transparent")};
12
+ background-color: ${(p) => { var _a, _b; return p.isActive ? (_a = p.activeBg) !== null && _a !== void 0 ? _a : p.theme.colors.primary.c20 : (_b = p.inactiveBg) !== null && _b !== void 0 ? _b : "transparent"; }};
13
13
  `;
14
- const StyledTabs = styled(TemplateTabs) ``;
15
- export const ChipTab = ({ onPress, isActive, label, disabled, }) => {
16
- return (React.createElement(TabBox, { isActive: isActive, onPress: onPress, disabled: disabled },
17
- React.createElement(Text, { variant: "small", fontWeight: "semiBold", color: isActive ? "palette.neutral.c100" : "palette.neutral.c80", textAlign: "center" }, label)));
18
- };
19
- const ChipTabs = (props) => (React.createElement(StyledTabs, Object.assign({}, props, { Item: ChipTab })));
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, onPress: onPress, size: size },
15
+ React.createElement(Text, { variant: "small", fontWeight: "semiBold", color: isActive ? activeColor !== null && activeColor !== void 0 ? activeColor : "palette.neutral.c100" : inactiveColor !== null && inactiveColor !== void 0 ? inactiveColor : "palette.neutral.c80", textAlign: "center" }, label)));
16
+ const ChipTabs = (props) => (React.createElement(TemplateTabs, Object.assign({}, props, { Item: ChipTab })));
20
17
  export default ChipTabs;
@@ -1,13 +1,6 @@
1
1
  import React from "react";
2
2
  import { BaseTabsProps, TabItemProps } from "../TemplateTabs";
3
- type GraphTabSize = "small" | "medium";
4
- type GraphTabsProps = BaseTabsProps & {
5
- size?: GraphTabSize;
6
- };
7
- type GraphTabItemProps = TabItemProps & {
8
- size?: GraphTabSize;
9
- };
10
- export declare const GraphTab: ({ onPress, isActive, label, activeColor, activeBg, size, disabled, }: GraphTabItemProps) => React.ReactElement;
11
- declare const GraphTabs: (props: GraphTabsProps) => React.ReactElement;
3
+ export declare const GraphTab: ({ onPress, isActive, label, activeColor, activeBg, size, disabled, }: TabItemProps) => React.ReactElement;
4
+ declare const GraphTabs: (props: BaseTabsProps) => React.ReactElement;
12
5
  export default GraphTabs;
13
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Graph/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE5E,KAAK,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvC,KAAK,cAAc,GAAG,aAAa,GAAG;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,KAAK,iBAAiB,GAAG,YAAY,GAAG;IACtC,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,CAAC;AAwBF,eAAO,MAAM,QAAQ,yEAQlB,iBAAiB,KAAG,MAAM,YA2B5B,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,cAAc,KAAG,MAAM,YAEhD,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Graph/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAqB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwB5E,eAAO,MAAM,QAAQ,yEAQlB,YAAY,KAAG,MAAM,YA2BvB,CAAC;AAEF,QAAA,MAAM,SAAS,UAAW,aAAa,KAAG,MAAM,YAE/C,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,12 +1,17 @@
1
1
  /// <reference types="styled-components-react-native" />
2
2
  import React from "react";
3
3
  export type BaseTabsProps = {
4
- labels: string[];
5
- activeIndex?: number;
6
- onChange: (newIndex: number) => void;
7
- activeColor?: string;
8
4
  activeBg?: string;
5
+ activeColor?: string;
6
+ activeIndex?: number;
7
+ gap?: string | number;
9
8
  disabled?: boolean;
9
+ inactiveBg?: string;
10
+ inactiveColor?: string;
11
+ labels: string[];
12
+ onChange: (newIndex: number) => void;
13
+ size?: "small" | "medium";
14
+ stretchItems?: boolean;
10
15
  };
11
16
  export type TabItemProps = Partial<BaseTabsProps> & {
12
17
  label: string;
@@ -19,8 +24,6 @@ export type TabItemProps = Partial<BaseTabsProps> & {
19
24
  };
20
25
  export type TabsProps = BaseTabsProps & {
21
26
  Item: (props: TabItemProps) => React.ReactElement;
22
- activeColor?: string;
23
- activeBg?: string;
24
27
  };
25
28
  export declare const TabsContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").OverflowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>> & {
26
29
  columnGap?: string | number | undefined;
@@ -30,10 +33,8 @@ export declare const TabsContainer: import("styled-components").StyledComponent<
30
33
  position?: string | undefined;
31
34
  maxHeight?: string | number | undefined;
32
35
  } & {
33
- size: undefined;
34
- flexDirection: string;
35
- alignItems: string;
36
- }, "size" | "alignItems" | "flexDirection">;
37
- declare const TemplateTabsGroup: (props: TabsProps) => React.ReactElement;
36
+ stretchItems: boolean;
37
+ }, never>;
38
+ declare const TemplateTabsGroup: ({ gap, size, stretchItems, ...props }: TabsProps) => React.ReactElement;
38
39
  export default TemplateTabsGroup;
39
40
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TemplateTabs/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG;IACtC,IAAI,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,YAAY,CA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K,EAAE,YAAY,KAAK,KAAK,CAAC,YAAY,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;kBAAmC,OAAO;SAMnE,CAAC;AAEF,QAAA,MAAM,iBAAiB,0CAKpB,SAAS,KAAG,MAAM,YAkBpB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,16 +1,27 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
1
12
  import React from "react";
2
13
  import styled from "styled-components/native";
3
14
  import FlexBox from "../../Layout/Flex";
4
- export const TabsContainer = styled(FlexBox).attrs({
5
- // Avoid conflict with styled-system's size property by nulling size and renaming it
6
- size: undefined,
7
- flexDirection: "row",
8
- alignItems: "stretch",
9
- }) `
15
+ export const TabsContainer = styled(FlexBox) `
16
+ // Avoid conflict with styled-system's size property by nulling size and renaming it
17
+ size: undefined;
18
+ flex-direction: row;
10
19
  width: 100%;
20
+ align-items: ${(p) => (p.stretchItems ? "stretch" : "center")};
11
21
  `;
12
- const TemplateTabsGroup = (props) => {
22
+ const TemplateTabsGroup = (_a) => {
23
+ var { gap, size, stretchItems = false } = _a, props = __rest(_a, ["gap", "size", "stretchItems"]);
13
24
  const { labels, activeIndex, onChange, Item } = props;
14
- return (React.createElement(TabsContainer, Object.assign({}, props), labels.map((label, index) => (React.createElement(Item, Object.assign({ key: index }, props, { label: label, index: index, isActive: index === activeIndex, onPress: () => onChange(index) }))))));
25
+ return (React.createElement(TabsContainer, Object.assign({ columnGap: gap, stretchItems: stretchItems }, props), labels.map((label, index) => (React.createElement(Item, Object.assign({ key: index }, props, { index: index, isActive: index === activeIndex, label: label, size: size, stretchItems: stretchItems, onPress: () => onChange(index) }))))));
15
26
  };
16
27
  export default TemplateTabsGroup;
@@ -1 +1 @@
1
- {"version":3,"file":"getButtonStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Button/getButtonStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG;IACxD,CAAC,KAAK,EAAE,MAAM,GAAG;QACf,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH,CAsCA;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,EACvB,KAAK,EAAE,WAAW,GACjB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,CAyBA;AAED,eAAO,MAAM,eAAe,EAAE;IAC5B,CAAC,KAAK,EAAE,MAAM,GAAG;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CAcH,CAAC"}
1
+ {"version":3,"file":"getButtonStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Button/getButtonStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG;IACxD,CAAC,KAAK,EAAE,MAAM,GAAG;QACf,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH,CA4CA;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,EACvB,KAAK,EAAE,WAAW,GACjB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,CAyBA;AAED,eAAO,MAAM,eAAe,EAAE;IAC5B,CAAC,KAAK,EAAE,MAAM,GAAG;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CAcH,CAAC"}
@@ -6,6 +6,12 @@ export function getButtonColors(colors) {
6
6
  pressedColor: "transparent",
7
7
  pressedOutlineColor: "transparent",
8
8
  },
9
+ accent: {
10
+ primaryColor: colors.primary.c80,
11
+ secondaryColor: "rgba(0,0,255,0)",
12
+ pressedColor: "transparent",
13
+ pressedOutlineColor: "transparent",
14
+ },
9
15
  disabled: {
10
16
  primaryColor: colors.neutral.c50,
11
17
  secondaryColor: colors.neutral.c30,
@@ -6,7 +6,7 @@ import { IconType } from "../../Icon/type";
6
6
  export type ButtonProps = TouchableOpacityProps & BaseStyledProps & {
7
7
  onPressWhenDisabled?: TouchableOpacityProps["onPress"];
8
8
  iconName?: string;
9
- type?: "main" | "shade" | "error" | "color" | "default";
9
+ type?: "main" | "shade" | "error" | "color" | "accent" | "default";
10
10
  size?: "small" | "medium" | "large";
11
11
  iconPosition?: "right" | "left";
12
12
  outline?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/cta/Button/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D,OAAO,EAIL,gBAAgB,EAChB,qBAAqB,EAEtB,MAAM,cAAc,CAAC;AAKtB,OAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,MAAM,WAAW,GAAG,qBAAqB,GAC7C,eAAe,GAAG;IAChB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;IACxD,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC;CAC/B,CAAC;AAUJ,eAAO,MAAM,IAAI;;kBAiBC,WAAW,CAAC,MAAM,CAAC;qCAiBpC,CAAC;AA0FF,QAAA,M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CAiBpC,CAAC;AA0FF,QAAA,MAAM,MAAM,UAAW,WAAW,KAAG,MAAM,YAgC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,WAAW,KAAG,MAAM,YAmC3D,CAAC;AAEF,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.24.1-nightly.1",
3
+ "version": "0.25.0-nightly.2",
4
4
  "description": "Ledger Live - Mobile UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "rn-range-slider": "2.1.1",
42
42
  "styled-system": "^5.1.5",
43
43
  "@ledgerhq/crypto-icons-ui": "^1.5.0-nightly.0",
44
- "@ledgerhq/icons-ui": "^0.7.4-nightly.0",
44
+ "@ledgerhq/icons-ui": "^0.8.0-nightly.1",
45
45
  "@ledgerhq/ui-shared": "^0.2.2-nightly.0"
46
46
  },
47
47
  "peerDependencies": {