@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 +2 -2
- package/dist/src/InputFieldWrapper/CommonInputStyles.style.js +1 -1
- package/dist/src/InputFieldWrapper/InputFieldWrapper.test.js +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/InputFieldWrapper/CommonInputStyles.style.ts +1 -1
- package/src/InputFieldWrapper/InputFieldWrapper.test.tsx +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.114.
|
|
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": "
|
|
126
|
+
"gitHead": "fe191ff78bc8fb343b3074af64bd04f108a827c6"
|
|
127
127
|
}
|
|
@@ -39,7 +39,7 @@ export const createCommonInputTokens = (
|
|
|
39
39
|
flexDirection: "row",
|
|
40
40
|
justifyContent: "space-between",
|
|
41
41
|
width: "100%",
|
|
42
|
-
borderColor: tokens["color-border"],
|
|
42
|
+
borderColor: tokens["color-border--interactive"],
|
|
43
43
|
borderStyle: "solid",
|
|
44
44
|
borderWidth: tokens["border-base"],
|
|
45
45
|
borderRadius: tokens["radius-base"],
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
INPUT_FIELD_WRAPPER_SPINNER_TEST_ID,
|
|
17
17
|
} from "./InputFieldWrapper";
|
|
18
18
|
import { useTypographyStyles } from "../Typography";
|
|
19
|
+
import { tokens } from "../utils/design";
|
|
19
20
|
|
|
20
21
|
const mockLabel = { label: "$" };
|
|
21
22
|
|
|
@@ -171,6 +172,9 @@ describe("InputFieldWrapper", () => {
|
|
|
171
172
|
...commonInputStyles.container,
|
|
172
173
|
flexDirection: "column",
|
|
173
174
|
});
|
|
175
|
+
expect(commonInputStyles.container.borderColor).toEqual(
|
|
176
|
+
tokens["color-border--interactive"],
|
|
177
|
+
);
|
|
174
178
|
});
|
|
175
179
|
|
|
176
180
|
it("shows the container style override when provided", () => {
|