@ledgerhq/native-ui 0.7.17-nightly.0 → 0.7.17

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.
Files changed (194) hide show
  1. package/README.md +16 -13
  2. package/{lib/assets → assets}/fonts/alpha/HMAlphaMono-Medium.otf +0 -0
  3. package/{lib/assets → assets}/fonts/inter/Inter-Bold.otf +0 -0
  4. package/{lib/assets → assets}/fonts/inter/Inter-Medium.otf +0 -0
  5. package/{lib/assets → assets}/fonts/inter/Inter-SemiBold.otf +0 -0
  6. package/{lib/assets → assets}/icons.d.ts +0 -0
  7. package/{lib/assets → assets}/icons.js +0 -0
  8. package/{lib/assets → assets}/index.d.ts +0 -0
  9. package/{lib/assets → assets}/index.js +0 -0
  10. package/{lib/assets → assets}/logos/LedgerLiveAltRegular.d.ts +0 -0
  11. package/{lib/assets → assets}/logos/LedgerLiveAltRegular.js +0 -0
  12. package/{lib/assets → assets}/logos/LedgerLiveRegular.d.ts +0 -0
  13. package/{lib/assets → assets}/logos/LedgerLiveRegular.js +0 -0
  14. package/{lib/assets → assets}/logos/index.d.ts +0 -0
  15. package/{lib/assets → assets}/logos/index.js +0 -0
  16. package/{lib/components → components}/Carousel/index.d.ts +0 -0
  17. package/{lib/components → components}/Carousel/index.js +0 -0
  18. package/{lib/components → components}/ChartCard/index.d.ts +0 -0
  19. package/{lib/components → components}/ChartCard/index.js +0 -0
  20. package/{lib/components → components}/Form/Checkbox/index.d.ts +0 -0
  21. package/{lib/components → components}/Form/Checkbox/index.js +0 -0
  22. package/{lib/components → components}/Form/Input/BaseInput/index.d.ts +2 -2
  23. package/{lib/components → components}/Form/Input/BaseInput/index.js +0 -0
  24. package/{lib/components → components}/Form/Input/LegendInput/index.d.ts +0 -0
  25. package/{lib/components → components}/Form/Input/LegendInput/index.js +0 -0
  26. package/{lib/components → components}/Form/Input/NumberInput/index.d.ts +0 -0
  27. package/{lib/components → components}/Form/Input/NumberInput/index.js +0 -0
  28. package/{lib/components → components}/Form/Input/QrCodeInput/index.d.ts +0 -0
  29. package/{lib/components → components}/Form/Input/QrCodeInput/index.js +0 -0
  30. package/{lib/components → components}/Form/Input/SearchInput/index.d.ts +0 -0
  31. package/{lib/components → components}/Form/Input/SearchInput/index.js +0 -0
  32. package/{lib/components → components}/Form/Input/index.d.ts +0 -0
  33. package/{lib/components → components}/Form/Input/index.js +0 -0
  34. package/{lib/components → components}/Form/SelectableList.d.ts +0 -0
  35. package/{lib/components → components}/Form/SelectableList.js +0 -0
  36. package/{lib/components → components}/Form/Slider/components.d.ts +0 -0
  37. package/{lib/components → components}/Form/Slider/components.js +0 -0
  38. package/{lib/components → components}/Form/Slider/index.d.ts +0 -0
  39. package/{lib/components → components}/Form/Slider/index.js +0 -0
  40. package/{lib/components → components}/Form/Slider/index.native.d.ts +0 -0
  41. package/{lib/components → components}/Form/Slider/index.native.js +0 -0
  42. package/{lib/components → components}/Form/Switch/index.d.ts +0 -0
  43. package/{lib/components → components}/Form/Switch/index.js +0 -0
  44. package/{lib/components → components}/Form/Toggle/index.d.ts +0 -0
  45. package/{lib/components → components}/Form/Toggle/index.js +0 -0
  46. package/{lib/components → components}/Form/index.d.ts +0 -0
  47. package/{lib/components → components}/Form/index.js +0 -0
  48. package/{lib/components → components}/Icon/BoxedIcon.d.ts +0 -0
  49. package/{lib/components → components}/Icon/BoxedIcon.js +0 -0
  50. package/{lib/components → components}/Icon/Icon.d.ts +0 -0
  51. package/{lib/components → components}/Icon/Icon.js +0 -0
  52. package/{lib/components → components}/Icon/IconBox/index.d.ts +0 -0
  53. package/{lib/components → components}/Icon/IconBox/index.js +0 -0
  54. package/{lib/components → components}/Icon/index.d.ts +0 -0
  55. package/{lib/components → components}/Icon/index.js +0 -0
  56. package/{lib/components → components}/Icon/type.d.ts +0 -0
  57. package/{lib/components → components}/Icon/type.js +0 -0
  58. package/{lib/components → components}/Layout/Box/index.d.ts +0 -0
  59. package/{lib/components → components}/Layout/Box/index.js +0 -0
  60. package/{lib/components → components}/Layout/Collapse/Accordion/index.d.ts +0 -0
  61. package/{lib/components → components}/Layout/Collapse/Accordion/index.js +0 -0
  62. package/{lib/components → components}/Layout/Flex/index.d.ts +0 -0
  63. package/{lib/components → components}/Layout/Flex/index.js +0 -0
  64. package/{lib/components → components}/Layout/List/IconBoxList/index.d.ts +0 -0
  65. package/{lib/components → components}/Layout/List/IconBoxList/index.js +0 -0
  66. package/{lib/components → components}/Layout/List/List/index.d.ts +0 -0
  67. package/{lib/components → components}/Layout/List/List/index.js +0 -0
  68. package/{lib/components → components}/Layout/List/NumberedList/index.d.ts +0 -0
  69. package/{lib/components → components}/Layout/List/NumberedList/index.js +0 -0
  70. package/{lib/components → components}/Layout/List/TipList/index.d.ts +0 -0
  71. package/{lib/components → components}/Layout/List/TipList/index.js +0 -0
  72. package/{lib/components → components}/Layout/List/index.d.ts +0 -0
  73. package/{lib/components → components}/Layout/List/index.js +0 -0
  74. package/{lib/components → components}/Layout/Modals/BaseModal/index.d.ts +2 -1
  75. package/{lib/components → components}/Layout/Modals/BaseModal/index.js +7 -7
  76. package/{lib/components → components}/Layout/Modals/BottomDrawer/index.d.ts +0 -0
  77. package/{lib/components → components}/Layout/Modals/BottomDrawer/index.js +7 -1
  78. package/{lib/components → components}/Layout/Modals/Popin/index.d.ts +0 -0
  79. package/{lib/components → components}/Layout/Modals/Popin/index.js +0 -0
  80. package/{lib/components → components}/Layout/Modals/Tooltip/index.d.ts +0 -0
  81. package/{lib/components → components}/Layout/Modals/Tooltip/index.js +0 -0
  82. package/{lib/components → components}/Layout/Modals/index.d.ts +0 -0
  83. package/{lib/components → components}/Layout/Modals/index.js +0 -0
  84. package/{lib/components → components}/Layout/ScrollContainer/index.d.ts +0 -0
  85. package/{lib/components → components}/Layout/ScrollContainer/index.js +0 -0
  86. package/{lib/components → components}/Layout/ScrollContainerHeader/Header.d.ts +0 -0
  87. package/{lib/components → components}/Layout/ScrollContainerHeader/Header.js +0 -0
  88. package/{lib/components → components}/Layout/ScrollContainerHeader/index.d.ts +0 -0
  89. package/{lib/components → components}/Layout/ScrollContainerHeader/index.js +0 -0
  90. package/{lib/components → components}/Layout/ScrollListContainer/index.d.ts +0 -0
  91. package/{lib/components → components}/Layout/ScrollListContainer/index.js +0 -0
  92. package/{lib/components → components}/Layout/Table/Row.d.ts +0 -0
  93. package/{lib/components → components}/Layout/Table/Row.js +0 -0
  94. package/{lib/components → components}/Layout/index.d.ts +0 -0
  95. package/{lib/components → components}/Layout/index.js +0 -0
  96. package/{lib/components → components}/Layout/types.d.ts +0 -0
  97. package/{lib/components → components}/Layout/types.js +0 -0
  98. package/{lib/components → components}/Loader/InfiniteLoader/index.d.ts +0 -0
  99. package/{lib/components → components}/Loader/InfiniteLoader/index.js +0 -0
  100. package/{lib/components → components}/Loader/ProgressLoader/index.d.ts +0 -0
  101. package/{lib/components → components}/Loader/ProgressLoader/index.js +0 -0
  102. package/{lib/components → components}/Loader/index.d.ts +0 -0
  103. package/{lib/components → components}/Loader/index.js +0 -0
  104. package/{lib/components → components}/Navigation/FlowStepper/index.d.ts +0 -0
  105. package/{lib/components → components}/Navigation/FlowStepper/index.js +0 -0
  106. package/{lib/components → components}/Navigation/SlideIndicator/index.d.ts +0 -0
  107. package/{lib/components → components}/Navigation/SlideIndicator/index.js +0 -0
  108. package/{lib/components → components}/Navigation/Stepper/index.d.ts +0 -0
  109. package/{lib/components → components}/Navigation/Stepper/index.js +0 -0
  110. package/{lib/components → components}/Navigation/index.d.ts +0 -0
  111. package/{lib/components → components}/Navigation/index.js +0 -0
  112. package/{lib/components → components}/ProgressBar/index.d.ts +0 -0
  113. package/{lib/components → components}/ProgressBar/index.js +0 -0
  114. package/{lib/components → components}/Tabs/Chip/index.d.ts +0 -0
  115. package/{lib/components → components}/Tabs/Chip/index.js +0 -0
  116. package/{lib/components → components}/Tabs/Graph/index.d.ts +0 -0
  117. package/{lib/components → components}/Tabs/Graph/index.js +0 -0
  118. package/{lib/components → components}/Tabs/TemplateTabs/index.d.ts +0 -0
  119. package/{lib/components → components}/Tabs/TemplateTabs/index.js +0 -0
  120. package/{lib/components → components}/Tabs/index.d.ts +0 -0
  121. package/{lib/components → components}/Tabs/index.js +0 -0
  122. package/{lib/components → components}/Text/getTextStyle.d.ts +0 -0
  123. package/{lib/components → components}/Text/getTextStyle.js +0 -0
  124. package/{lib/components → components}/Text/index.d.ts +0 -0
  125. package/{lib/components → components}/Text/index.js +0 -0
  126. package/{lib/components → components}/chart/index.d.ts +0 -0
  127. package/{lib/components → components}/chart/index.js +2 -8
  128. package/{lib/components → components}/chart/types.d.ts +0 -0
  129. package/{lib/components → components}/chart/types.js +0 -0
  130. package/{lib/components → components}/cta/Button/getButtonStyle.d.ts +2 -0
  131. package/{lib/components → components}/cta/Button/getButtonStyle.js +12 -10
  132. package/{lib/components → components}/cta/Button/index.d.ts +3 -3
  133. package/{lib/components → components}/cta/Button/index.js +11 -9
  134. package/{lib/components → components}/cta/Link/getLinkStyle.d.ts +0 -0
  135. package/{lib/components → components}/cta/Link/getLinkStyle.js +0 -0
  136. package/{lib/components → components}/cta/Link/index.d.ts +0 -0
  137. package/{lib/components → components}/cta/Link/index.js +0 -0
  138. package/{lib/components → components}/cta/getCtaStyle.d.ts +0 -0
  139. package/{lib/components → components}/cta/getCtaStyle.js +0 -0
  140. package/{lib/components → components}/cta/index.d.ts +0 -0
  141. package/{lib/components → components}/cta/index.js +0 -0
  142. package/{lib/components → components}/index.d.ts +0 -0
  143. package/{lib/components → components}/index.js +0 -0
  144. package/{lib/components → components}/message/Alert/index.d.ts +0 -0
  145. package/{lib/components → components}/message/Alert/index.js +0 -0
  146. package/{lib/components → components}/message/Log/Brackets.d.ts +0 -0
  147. package/{lib/components → components}/message/Log/Brackets.js +0 -0
  148. package/{lib/components → components}/message/Log/index.d.ts +0 -0
  149. package/{lib/components → components}/message/Log/index.js +0 -0
  150. package/{lib/components → components}/message/Notification/index.d.ts +0 -0
  151. package/{lib/components → components}/message/Notification/index.js +0 -0
  152. package/{lib/components → components}/message/index.d.ts +0 -0
  153. package/{lib/components → components}/message/index.js +0 -0
  154. package/{lib/components → components}/styled.d.ts +0 -0
  155. package/{lib/components → components}/styled.js +1 -4
  156. package/{lib/components → components}/tags/Badge/index.d.ts +0 -0
  157. package/{lib/components → components}/tags/Badge/index.js +0 -0
  158. package/{lib/components → components}/tags/Tag/index.d.ts +0 -0
  159. package/{lib/components → components}/tags/Tag/index.js +0 -0
  160. package/{lib/components → components}/tags/index.d.ts +0 -0
  161. package/{lib/components → components}/tags/index.js +0 -0
  162. package/{lib/components → components}/transitions/Fade.d.ts +0 -0
  163. package/{lib/components → components}/transitions/Fade.js +0 -0
  164. package/{lib/components → components}/transitions/Slide.d.ts +0 -0
  165. package/{lib/components → components}/transitions/Slide.js +0 -0
  166. package/{lib/components → components}/transitions/Transition.d.ts +0 -0
  167. package/{lib/components → components}/transitions/Transition.js +0 -0
  168. package/{lib/components → components}/transitions/index.d.ts +0 -0
  169. package/{lib/components → components}/transitions/index.js +0 -0
  170. package/{lib/components → components}/transitions/types.d.ts +0 -0
  171. package/{lib/components → components}/transitions/types.js +0 -0
  172. package/{lib/helpers → helpers}/getDeviceSize.d.ts +0 -0
  173. package/{lib/helpers → helpers}/getDeviceSize.js +0 -0
  174. package/{lib/icons → icons}/BracketLeft.d.ts +0 -0
  175. package/{lib/icons → icons}/BracketLeft.js +0 -0
  176. package/{lib/icons → icons}/BracketRight.d.ts +0 -0
  177. package/{lib/icons → icons}/BracketRight.js +0 -0
  178. package/{lib/icons → icons}/Close.d.ts +0 -0
  179. package/{lib/icons → icons}/Close.js +0 -0
  180. package/{lib/icons → icons}/Info.d.ts +0 -0
  181. package/{lib/icons → icons}/Info.js +0 -0
  182. package/{lib/index.d.ts → index.d.ts} +0 -0
  183. package/{lib/index.js → index.js} +0 -0
  184. package/package.json +15 -127
  185. /package/{lib/styles → styles}/InvertTheme.d.ts +0 -0
  186. /package/{lib/styles → styles}/InvertTheme.js +0 -0
  187. /package/{lib/styles → styles}/StyleProvider.d.ts +0 -0
  188. /package/{lib/styles → styles}/StyleProvider.js +0 -0
  189. /package/{lib/styles → styles}/helpers.d.ts +0 -0
  190. /package/{lib/styles → styles}/helpers.js +0 -0
  191. /package/{lib/styles → styles}/index.d.ts +0 -0
  192. /package/{lib/styles → styles}/index.js +0 -0
  193. /package/{lib/styles → styles}/theme.d.ts +0 -0
  194. /package/{lib/styles → styles}/theme.js +0 -0
@@ -1,8 +1,8 @@
1
1
  /// <reference types="styled-components-react-native" />
2
2
  import React from "react";
3
- import { TouchableOpacity, TouchableOpacityProps } from "react-native";
3
+ import { TouchableHighlight, TouchableHighlightProps } from "react-native";
4
4
  import { BaseStyledProps } from "../../styled";
5
- export declare type ButtonProps = TouchableOpacityProps & BaseStyledProps & {
5
+ export declare type ButtonProps = TouchableHighlightProps & BaseStyledProps & {
6
6
  Icon?: React.ComponentType<{
7
7
  size: number;
8
8
  color: string;
@@ -18,7 +18,7 @@ export declare type ButtonProps = TouchableOpacityProps & BaseStyledProps & {
18
18
  pending?: boolean;
19
19
  displayContentWhenPending?: boolean;
20
20
  };
21
- export declare const Base: import("styled-components").StyledComponent<typeof TouchableOpacity, import("styled-components").DefaultTheme, {
21
+ export declare const Base: import("styled-components").StyledComponent<typeof TouchableHighlight, import("styled-components").DefaultTheme, {
22
22
  iconButton?: boolean | undefined;
23
23
  sizeVariant?: ButtonProps["size"];
24
24
  } & Omit<ButtonProps, "size">, never>;
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  };
10
10
  import React, { useCallback, useState, useMemo } from "react";
11
11
  import styled, { useTheme } from "styled-components/native";
12
- import { ActivityIndicator, TouchableOpacity } from "react-native";
12
+ import { ActivityIndicator, TouchableHighlight, View } from "react-native";
13
13
  import { buttonSizeStyle, getButtonColorStyle } from "../../cta/Button/getButtonStyle";
14
14
  import { ctaIconSize, ctaTextType } from "../../cta/getCtaStyle";
15
15
  import Text from "../../Text";
@@ -18,7 +18,7 @@ import baseStyled from "../../styled";
18
18
  const IconContainer = styled.View `
19
19
  ${(p) => p.iconButton ? "" : p.iconPosition === "left" ? `margin-right: 10px;` : `margin-left: 10px;`}
20
20
  `;
21
- export const Base = baseStyled(TouchableOpacity).attrs((p) => (Object.assign(Object.assign({}, getButtonColorStyle(p.theme.colors, p).button), {
21
+ export const Base = baseStyled(TouchableHighlight).attrs((p) => (Object.assign(Object.assign({}, getButtonColorStyle(p.theme.colors, p).button), {
22
22
  // Avoid conflict with styled-system's size property by nulling size and renaming it
23
23
  size: undefined, sizeVariant: p.size }))) `
24
24
 
@@ -71,10 +71,11 @@ const ButtonContainer = (props) => {
71
71
  const Button = (props) => {
72
72
  const { Icon, children, type = "default", iconName, disabled = false, pending = false, displayContentWhenPending = false, } = props;
73
73
  const theme = useTheme();
74
- return (React.createElement(Base, Object.assign({}, props, { type: type, iconButton: (!!Icon || !!iconName) && !children, activeOpacity: 0.5, disabled: disabled || pending }),
75
- React.createElement(ButtonContainer, Object.assign({}, props, { type: type, hide: pending && !displayContentWhenPending })),
76
- pending && !displayContentWhenPending ? (React.createElement(SpinnerContainer, { displayContentWhenPending: displayContentWhenPending },
77
- React.createElement(ActivityIndicator, { color: theme.colors.neutral.c50, animating: true }))) : null));
74
+ return (React.createElement(Base, Object.assign({}, props, { type: type, iconButton: (!!Icon || !!iconName) && !children, activeOpacity: 1, disabled: disabled || pending }),
75
+ React.createElement(View, null,
76
+ React.createElement(ButtonContainer, Object.assign({}, props, { type: type, hide: pending && !displayContentWhenPending })),
77
+ pending && !displayContentWhenPending ? (React.createElement(SpinnerContainer, { displayContentWhenPending: displayContentWhenPending },
78
+ React.createElement(ActivityIndicator, { color: theme.colors.neutral.c50, animating: true }))) : null)));
78
79
  };
79
80
  export const PromisableButton = (props) => {
80
81
  const { Icon, children, onPress, type = "main", disabled = false, iconName } = props;
@@ -92,8 +93,9 @@ export const PromisableButton = (props) => {
92
93
  }
93
94
  }), [onPress]);
94
95
  return (React.createElement(Base, Object.assign({}, props, { type: type, iconButton: (!!Icon || !!iconName) && !children, disabled: disabled || spinnerOn, onPress: onPressHandler }),
95
- React.createElement(ButtonContainer, Object.assign({}, props, { type: type, hide: spinnerOn })),
96
- React.createElement(SpinnerContainer, null,
97
- React.createElement(ActivityIndicator, { color: theme.colors.neutral.c50, animating: spinnerOn }))));
96
+ React.createElement(View, null,
97
+ React.createElement(ButtonContainer, Object.assign({}, props, { type: type, hide: spinnerOn })),
98
+ React.createElement(SpinnerContainer, null,
99
+ React.createElement(ActivityIndicator, { color: theme.colors.neutral.c50, animating: spinnerOn })))));
98
100
  };
99
101
  export default Button;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,10 +6,7 @@ const proxyStyled = new Proxy(styled, {
6
6
  return styled(target.apply(thisArg, argumentsList)(baseStyles));
7
7
  },
8
8
  get(target, property) {
9
- if (typeof target[property] === "function") {
10
- return styled(target[property].apply(styled, [baseStyles]));
11
- }
12
- return target[property];
9
+ return styled(target[property].apply(styled, [baseStyles]));
13
10
  },
14
11
  });
15
12
  export default proxyStyled;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,41 +1,29 @@
1
1
  {
2
2
  "name": "@ledgerhq/native-ui",
3
- "version": "0.7.17-nightly.0",
4
- "description": "Ledger Live - Mobile UI",
3
+ "version": "0.7.17",
4
+ "description": "Ledger Live - React Native UI",
5
5
  "repository": "https://github.com/LedgerHQ/ui",
6
6
  "license": "MIT",
7
7
  "author": "Ledger Live Team <team-live@ledger.fr>",
8
- "main": "lib/index.js",
9
- "types": "index.d.ts",
10
- "typesVersions": {
11
- "*": {
12
- "*": [
13
- "lib/*",
14
- "lib/*/index.d.ts",
15
- "./*"
16
- ]
17
- }
18
- },
19
- "exports": {
20
- ".": "./lib/index.js",
21
- "./": "./lib/",
22
- "./package.json": "./package.json"
23
- },
24
8
  "files": [
25
- "lib/**/*"
9
+ "components",
10
+ "assets",
11
+ "styles",
12
+ "helpers",
13
+ "icons",
14
+ "index.d.ts",
15
+ "index.js"
26
16
  ],
27
17
  "dependencies": {
28
- "@ledgerhq/icons-ui": "^0.2.5-nightly.0",
29
- "@ledgerhq/ui-shared": "^0.1.7-nightly.0",
30
- "@types/color": "^3.0.3",
31
- "@types/react": "^17.0.39",
18
+ "@ledgerhq/icons-ui": "^0.2.4",
19
+ "@ledgerhq/ui-shared": "^0.1.7",
20
+ "@types/color": "^3.0.2",
21
+ "@types/react": "^17.0.37",
32
22
  "@types/react-native": "^0.65.9",
33
- "@types/styled-components": "^5.1.3",
34
23
  "@types/styled-components-react-native": "^5.1.3",
35
24
  "@types/styled-system": "^5.1.13",
36
25
  "color": "^3.1.3",
37
26
  "moment": "^2.29.1",
38
- "react-native-animatable": "^1.3.3",
39
27
  "react-native-modal": "^13.0.0",
40
28
  "rn-range-slider": "^2.1.1",
41
29
  "styled-system": "^5.1.5",
@@ -43,109 +31,9 @@
43
31
  },
44
32
  "peerDependencies": {
45
33
  "react": "^17.0.2",
46
- "react-native": ">=0.64.0",
47
- "react-native-reanimated": "~2.3.1",
34
+ "react-native": "^0.65.0",
35
+ "react-native-reanimated": "^2.2.4",
48
36
  "react-native-svg": "^12.1.1",
49
37
  "styled-components": "^5.3.3"
50
- },
51
- "devDependencies": {
52
- "@babel/core": "^7.17.4",
53
- "@babel/generator": "^7.17.2",
54
- "@babel/plugin-proposal-export-namespace-from": "^7.16.0",
55
- "@babel/preset-env": "^7.15.8",
56
- "@babel/runtime": "^7.17.2",
57
- "@emotion/core": "^11.0.0",
58
- "@expo/webpack-config": "^0.16.18",
59
- "@react-native-community/cli-server-api": "^7.0.3",
60
- "@react-native-community/eslint-config": "^3.0.1",
61
- "@storybook/addon-actions": "^6.4.19",
62
- "@storybook/addon-backgrounds": "^6.4.19",
63
- "@storybook/addon-controls": "^6.4.19",
64
- "@storybook/addon-docs": "^6.4.19",
65
- "@storybook/addon-essentials": "^6.4.19",
66
- "@storybook/addon-knobs": "^6.4.0",
67
- "@storybook/addon-links": "^6.4.19",
68
- "@storybook/addon-measure": "^6.4.19",
69
- "@storybook/addon-ondevice-actions": "^5.3.23",
70
- "@storybook/addon-ondevice-knobs": "^5.3.25",
71
- "@storybook/addon-outline": "^6.4.19",
72
- "@storybook/addon-toolbars": "^6.4.19",
73
- "@storybook/addon-viewport": "^6.4.19",
74
- "@storybook/addons": "^6.4.19",
75
- "@storybook/api": "^6.4.19",
76
- "@storybook/components": "^6.4.19",
77
- "@storybook/core-events": "^6.4.19",
78
- "@storybook/react": "^6.4.19",
79
- "@storybook/react-native": "^5.3.25",
80
- "@storybook/theming": "^6.4.19",
81
- "@svgr/core": "^5.5.0",
82
- "@svgr/plugin-jsx": "^5.5.0",
83
- "@svgr/plugin-svgo": "^5.5.0",
84
- "@types/hoist-non-react-statics": "^3.3.1",
85
- "@types/node": "^17.0.31",
86
- "@types/prop-types": "^15.7.5",
87
- "@typescript-eslint/eslint-plugin": "^5.22.0",
88
- "@typescript-eslint/parser": "^5.22.0",
89
- "babel-loader": "^8.2.2",
90
- "babel-plugin-module-resolver": "^4.1.0",
91
- "babel-preset-expo": "^9.0.2",
92
- "camelcase": "^6.2.1",
93
- "csstype": "^3.0.11",
94
- "eslint": "^8.10.0",
95
- "eslint-config-prettier": "^8.3.0",
96
- "eslint-plugin-prettier": "^4.0.0",
97
- "eslint-plugin-react": "^7.29.2",
98
- "eslint-plugin-react-hooks": "^4.3.0",
99
- "expo": "~44.0.0",
100
- "expo-asset": "~8.4.6",
101
- "expo-cli": "^5",
102
- "expo-constants": "~13.0.2",
103
- "expo-file-system": "~13.1.3",
104
- "expo-font": "^10.0.5",
105
- "expo-modules-core": "0.6.5",
106
- "expo-status-bar": "~1.2.0",
107
- "fs-extra": "^10.0.1",
108
- "glob": "^7.2.0",
109
- "metro": "^0.67.0",
110
- "metro-config": "^0.67.0",
111
- "metro-extra-config": "1.0.1-nightly.0",
112
- "metro-minify-uglify": "^0.67.0",
113
- "metro-react-native-babel-preset": "^0.67.0",
114
- "metro-runtime": "^0.67.0",
115
- "metro-transform-worker": "^0.67.0",
116
- "prettier": "^2.4.1",
117
- "prop-types": "^15.8.1",
118
- "react": "^17.0.2",
119
- "react-dom": "^17.0.2",
120
- "react-is": "^17.0.2",
121
- "react-native": "0.64.3",
122
- "react-native-gesture-handler": "^1.10.3",
123
- "react-native-reanimated": "~2.3.1",
124
- "react-native-svg": "^12.1.1",
125
- "react-native-web": "~0.17.5",
126
- "regenerator-runtime": "^0.13.9",
127
- "rimraf": "^3.0.2",
128
- "styled-components": "^5.3.3",
129
- "typescript": "^4.4.4",
130
- "victory": "^35.5.5",
131
- "webpack": "^4.46.0"
132
- },
133
- "scripts": {
134
- "android": "expo start --android",
135
- "build": "tsc -p tsconfig.prod.json && node scripts/postBuild",
136
- "prebuild:storybook": "pnpm -F ui-shared -F icons-ui build",
137
- "build:storybook": "pnpm build-storybook -o web-build",
138
- "watch": "tsc --watch",
139
- "clean": "rimraf lib",
140
- "eject": "expo eject",
141
- "ios": "expo start --ios",
142
- "lint": "eslint src storybook --ext .ts,.tsx,.js,.jsx --cache",
143
- "lint:fix": "pnpm lint --fix",
144
- "release": "yarn publish ./lib --access public",
145
- "expo": "expo start",
146
- "storybook": "start-storybook -p 6006",
147
- "typecheck": "tsc --noEmit -p tsconfig.json",
148
- "test": "exit 0",
149
- "web": "expo start --web"
150
38
  }
151
39
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes