@artsy/palette-mobile 14.0.33 → 14.0.35

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.
@@ -148,7 +148,7 @@ export const Input = forwardRef(({ addClearListener = false, defaultValue, disab
148
148
  fontFamily: fontFamily,
149
149
  };
150
150
  }, [fontFamily, space, color]);
151
- const inputVariants = getInputVariants(theme);
151
+ const inputVariants = useMemo(() => getInputVariants(theme), [theme]);
152
152
  useEffect(() => {
153
153
  const inputState = getInputState({
154
154
  isFocused: !!focused,
@@ -26,7 +26,7 @@ export const Skeleton = ({ children }) => {
26
26
  };
27
27
  export const SkeletonText = ({ children, ...rest }) => {
28
28
  const color = useColor();
29
- return (_jsx(Flex, { alignSelf: "flex-start", children: _jsx(Text, { ...rest, bg: color("black10"), color: color("black10"), children: children }) }));
29
+ return (_jsx(Flex, { alignSelf: "flex-start", children: _jsx(Text, { ...rest, bg: color("black10"), color: "transparent", children: children }) }));
30
30
  };
31
31
  export const SkeletonBox = ({ children, ...rest }) => {
32
32
  const color = useColor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "14.0.33",
3
+ "version": "14.0.35",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "android": "RCT_METRO_PORT=8082 react-native run-android --port 8082 --terminal terminal",