@ledgerhq/lumen-ui-rnative 0.0.74 → 0.0.76
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.
- package/dist/package.json +1 -1
- package/dist/src/lib/Components/BaseInput/BaseInput.js +2 -2
- package/dist/src/lib/Components/CardButton/CardButton.js +3 -3
- package/dist/src/lib/Components/TabBar/TabBar.d.ts +1 -1
- package/dist/src/lib/Components/TabBar/TabBar.js +1 -1
- package/package.json +1 -1
- package/src/lib/Components/BaseInput/BaseInput.tsx +2 -2
- package/src/lib/Components/CardButton/CardButton.tsx +3 -3
- package/src/lib/Components/TabBar/TabBar.tsx +1 -1
package/dist/package.json
CHANGED
|
@@ -82,6 +82,7 @@ const useStyles = ({ hasError, isFocused, isEditable, hasLabel, }) => {
|
|
|
82
82
|
overflow: 'hidden',
|
|
83
83
|
},
|
|
84
84
|
hasError && {
|
|
85
|
+
borderWidth: 1,
|
|
85
86
|
borderColor: t.colors.border.error,
|
|
86
87
|
},
|
|
87
88
|
!isEditable && {
|
|
@@ -99,8 +100,7 @@ const useStyles = ({ hasError, isFocused, isEditable, hasLabel, }) => {
|
|
|
99
100
|
width: t.sizes.full,
|
|
100
101
|
color: t.colors.text.base,
|
|
101
102
|
backgroundColor: t.colors.bg.muted,
|
|
102
|
-
|
|
103
|
-
outlineColor: 'transparent',
|
|
103
|
+
outline: 'none',
|
|
104
104
|
},
|
|
105
105
|
hasLabel && {
|
|
106
106
|
paddingTop: t.spacings.s16,
|
|
@@ -6,11 +6,11 @@ import { Pressable } from '../Utility';
|
|
|
6
6
|
const useStyles = ({ appearance, disabled, pressed, }) => {
|
|
7
7
|
return useStyleSheet((t) => {
|
|
8
8
|
const bgColors = {
|
|
9
|
-
base: t.colors.bg.
|
|
9
|
+
base: t.colors.bg.surface,
|
|
10
10
|
outline: 'transparent',
|
|
11
11
|
};
|
|
12
12
|
const pressedBgColors = {
|
|
13
|
-
base: t.colors.bg.
|
|
13
|
+
base: t.colors.bg.surfacePressed,
|
|
14
14
|
outline: t.colors.bg.baseTransparentPressed,
|
|
15
15
|
};
|
|
16
16
|
return {
|
|
@@ -67,7 +67,7 @@ const useStyles = ({ appearance, disabled, pressed, }) => {
|
|
|
67
67
|
]),
|
|
68
68
|
icon: {
|
|
69
69
|
flexShrink: 0,
|
|
70
|
-
color: disabled ? t.colors.text.disabled : t.colors.text.
|
|
70
|
+
color: disabled ? t.colors.text.disabled : t.colors.text.muted,
|
|
71
71
|
},
|
|
72
72
|
};
|
|
73
73
|
}, [appearance, disabled, pressed]);
|
|
@@ -7,7 +7,7 @@ import { useStyleSheet, useTheme } from '../../../styles';
|
|
|
7
7
|
import { Placeholder } from '../../Symbols';
|
|
8
8
|
import { Box, Pressable } from '../Utility';
|
|
9
9
|
import { TabBarContextProvider, useTabBarContext } from './TabBarContext';
|
|
10
|
-
export const TAB_BAR_HEIGHT =
|
|
10
|
+
export const TAB_BAR_HEIGHT = 60;
|
|
11
11
|
const PILL_INSET = 4;
|
|
12
12
|
/**
|
|
13
13
|
* Individual tab item component that displays an icon and label.
|
package/package.json
CHANGED
|
@@ -192,6 +192,7 @@ const useStyles = ({
|
|
|
192
192
|
overflow: 'hidden',
|
|
193
193
|
},
|
|
194
194
|
hasError && {
|
|
195
|
+
borderWidth: 1,
|
|
195
196
|
borderColor: t.colors.border.error,
|
|
196
197
|
},
|
|
197
198
|
!isEditable && {
|
|
@@ -209,8 +210,7 @@ const useStyles = ({
|
|
|
209
210
|
width: t.sizes.full,
|
|
210
211
|
color: t.colors.text.base,
|
|
211
212
|
backgroundColor: t.colors.bg.muted,
|
|
212
|
-
|
|
213
|
-
outlineColor: 'transparent',
|
|
213
|
+
outline: 'none',
|
|
214
214
|
},
|
|
215
215
|
hasLabel && {
|
|
216
216
|
paddingTop: t.spacings.s16,
|
|
@@ -19,12 +19,12 @@ const useStyles = ({
|
|
|
19
19
|
return useStyleSheet(
|
|
20
20
|
(t) => {
|
|
21
21
|
const bgColors: Record<Appearance, string> = {
|
|
22
|
-
base: t.colors.bg.
|
|
22
|
+
base: t.colors.bg.surface,
|
|
23
23
|
outline: 'transparent',
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
const pressedBgColors: Record<Appearance, string> = {
|
|
27
|
-
base: t.colors.bg.
|
|
27
|
+
base: t.colors.bg.surfacePressed,
|
|
28
28
|
outline: t.colors.bg.baseTransparentPressed,
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -83,7 +83,7 @@ const useStyles = ({
|
|
|
83
83
|
]),
|
|
84
84
|
icon: {
|
|
85
85
|
flexShrink: 0,
|
|
86
|
-
color: disabled ? t.colors.text.disabled : t.colors.text.
|
|
86
|
+
color: disabled ? t.colors.text.disabled : t.colors.text.muted,
|
|
87
87
|
},
|
|
88
88
|
};
|
|
89
89
|
},
|
|
@@ -15,7 +15,7 @@ import { Box, Pressable } from '../Utility';
|
|
|
15
15
|
import { TabBarContextProvider, useTabBarContext } from './TabBarContext';
|
|
16
16
|
import { TabBarItemProps, TabBarProps } from './types';
|
|
17
17
|
|
|
18
|
-
export const TAB_BAR_HEIGHT =
|
|
18
|
+
export const TAB_BAR_HEIGHT = 60;
|
|
19
19
|
const PILL_INSET = 4;
|
|
20
20
|
|
|
21
21
|
/**
|