@jobber/components-native 0.64.0 → 0.65.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "build:clean": "rm -rf ./dist"
37
37
  },
38
38
  "dependencies": {
39
- "@jobber/design": "^0.56.4",
39
+ "@jobber/design": "^0.57.0",
40
40
  "@jobber/hooks": "^2.9.4",
41
41
  "@react-native-clipboard/clipboard": "^1.11.2",
42
42
  "@react-native-picker/picker": "^2.4.10",
@@ -84,5 +84,5 @@
84
84
  "react-native-safe-area-context": "^4.5.2",
85
85
  "react-native-svg": ">=12.0.0"
86
86
  },
87
- "gitHead": "2cf5b8fafc67e021899124f3fd885de116bc374e"
87
+ "gitHead": "3eb2d707a233210b3d0612acf0baf25e7291cb53"
88
88
  }
@@ -6,7 +6,7 @@ import { Text } from "../Text";
6
6
 
7
7
  describe("ActionItem", () => {
8
8
  const pressHandler = jest.fn();
9
- const defaultActionIcon = "arrowRight";
9
+ const defaultActionIcon = "longArrowRight";
10
10
 
11
11
  beforeEach(() => {
12
12
  jest.resetAllMocks();
@@ -63,7 +63,7 @@ describe("ActionItem", () => {
63
63
  expect(queryByTestId(defaultActionIcon)).toBeFalsy();
64
64
  });
65
65
 
66
- it("should display arrowRight icon when edit name is used", () => {
66
+ it("should display longArrowRight icon when edit name is used", () => {
67
67
  const iconName = "edit";
68
68
  const { getByTestId } = render(
69
69
  <ActionItem onPress={pressHandler} actionIcon={iconName} />,
@@ -124,7 +124,7 @@ type ActionIconNames = IconNames | "editpencil";
124
124
 
125
125
  function getActionIcon(icon: ActionIconNames): IconNames {
126
126
  if (icon === "edit") {
127
- return "arrowRight";
127
+ return "longArrowRight";
128
128
  } else if (icon === "editpencil") {
129
129
  return "edit";
130
130
  }