@jobber/components-native 0.114.14 → 0.114.15

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.114.14",
3
+ "version": "0.114.15",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -123,5 +123,5 @@
123
123
  "react-native-screens": ">=4.18.0",
124
124
  "react-native-svg": ">=12.0.0"
125
125
  },
126
- "gitHead": "3fba9dd8675ceed40979c17792faf2d091ac2ce7"
126
+ "gitHead": "fe191ff78bc8fb343b3074af64bd04f108a827c6"
127
127
  }
@@ -30,7 +30,7 @@ export const createCommonInputTokens = (tokens) => {
30
30
  flexDirection: "row",
31
31
  justifyContent: "space-between",
32
32
  width: "100%",
33
- borderColor: tokens["color-border"],
33
+ borderColor: tokens["color-border--interactive"],
34
34
  borderStyle: "solid",
35
35
  borderWidth: tokens["border-base"],
36
36
  borderRadius: tokens["radius-base"],
@@ -5,6 +5,7 @@ import { InputFieldWrapper, useCommonInputStyles } from ".";
5
5
  import { useStyles } from "./InputFieldWrapper.style";
6
6
  import { INPUT_FIELD_WRAPPER_GLIMMERS_TEST_ID, INPUT_FIELD_WRAPPER_SPINNER_TEST_ID, } from "./InputFieldWrapper";
7
7
  import { useTypographyStyles } from "../Typography";
8
+ import { tokens } from "../utils/design";
8
9
  const mockLabel = { label: "$" };
9
10
  let styles;
10
11
  let commonInputStyles;
@@ -117,6 +118,7 @@ describe("InputFieldWrapper", () => {
117
118
  const { getByTestId } = renderInputFieldWrapper({});
118
119
  const container = getByTestId("ATL-InputFieldWrapper");
119
120
  expect(container.props.style).toContainEqual(Object.assign(Object.assign({}, commonInputStyles.container), { flexDirection: "column" }));
121
+ expect(commonInputStyles.container.borderColor).toEqual(tokens["color-border--interactive"]);
120
122
  });
121
123
  it("shows the container style override when provided", () => {
122
124
  const styleOverride = {