@artsy/palette-mobile 19.14.0 → 19.15.1

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.
@@ -3,13 +3,13 @@ import { useEffect, useState } from "react";
3
3
  import { Pressable } from "react-native";
4
4
  import Haptic from "react-native-haptic-feedback";
5
5
  import Animated, { interpolateColor, useAnimatedReaction, useAnimatedStyle, useDerivedValue, useSharedValue, withTiming, } from "react-native-reanimated";
6
+ import { useColorsForVariantAndState } from "./colors";
6
7
  import { MeasuredView } from "../../elements/MeasuredView";
7
8
  import { Box } from "../Box";
8
9
  import { Flex } from "../Flex";
9
10
  import { Spacer } from "../Spacer";
10
11
  import { Spinner } from "../Spinner";
11
12
  import { Text, useTextStyleForPalette } from "../Text";
12
- import { useColorsForVariantAndState } from "./colors";
13
13
  const ANIMATION_DURATION = 150;
14
14
  export const Button = ({ children, disabled: disabledProp, haptic, icon, iconPosition = "left", loading: loadingProp, block, longestText, onPress, size = "large", variant = "fillDark", testOnly_pressed, testID, hitSlop, ...restProps }) => {
15
15
  const [disabled, setDisabled, disabledV] = useStateWithProp(!!disabledProp);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "19.14.0",
3
+ "version": "19.15.1",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "android": "expo run:android --port 8082",
@@ -77,9 +77,10 @@
77
77
  "@babel/preset-react": "7.18.6",
78
78
  "@babel/preset-typescript": "7.18.6",
79
79
  "@babel/runtime": "^7.25.0",
80
+ "@gorhom/bottom-sheet": "^4.6.4",
80
81
  "@react-native-async-storage/async-storage": "2.2.0",
81
82
  "@react-native/eslint-config": "0.76.9",
82
- "@storybook/react-native": "7.6.20",
83
+ "@storybook/react-native": "^8.6.2",
83
84
  "@testing-library/react-native": "13.2.0",
84
85
  "@types/events": "^3.0.0",
85
86
  "@types/jest": "29.4.0",
@@ -124,6 +125,7 @@
124
125
  "react-dom": "19.0.0",
125
126
  "react-native": "0.79.6",
126
127
  "react-native-device-info": "14.0.4",
128
+ "react-native-gesture-handler": "~2.22.1",
127
129
  "react-native-haptic-feedback": "1.14.0",
128
130
  "react-native-linear-gradient": "2.6.2",
129
131
  "react-native-reanimated": "3.17.5",