@jobber/components-native 0.114.14 → 0.114.16
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/docs/Icon/Icon.md +2 -0
- package/dist/package.json +3 -3
- 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 +3 -3
- package/src/InputFieldWrapper/CommonInputStyles.style.ts +1 -1
- package/src/InputFieldWrapper/InputFieldWrapper.test.tsx +4 -0
package/dist/docs/Icon/Icon.md
CHANGED
|
@@ -449,6 +449,7 @@ export function IconSizesExample() {
|
|
|
449
449
|
| | `apps` |
|
|
450
450
|
| | `at` |
|
|
451
451
|
| | `camera` |
|
|
452
|
+
| | `cap` |
|
|
452
453
|
| | `checkmark` |
|
|
453
454
|
| | `checkmarkCircle` |
|
|
454
455
|
| | `circle` |
|
|
@@ -472,6 +473,7 @@ export function IconSizesExample() {
|
|
|
472
473
|
| | `loadingCheck` |
|
|
473
474
|
| | `lock` |
|
|
474
475
|
| | `logout` |
|
|
476
|
+
| | `mcp` |
|
|
475
477
|
| | `measurement` |
|
|
476
478
|
| | `menu` |
|
|
477
479
|
| | `microphone` |
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.114.
|
|
3
|
+
"version": "0.114.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/runtime": "^7.29.2",
|
|
75
75
|
"@gorhom/bottom-sheet": "^5.2.8",
|
|
76
|
-
"@jobber/design": "0.
|
|
76
|
+
"@jobber/design": "0.120.0",
|
|
77
77
|
"@jobber/hooks": "2.21.1",
|
|
78
78
|
"@react-native-community/datetimepicker": "^8.4.5",
|
|
79
79
|
"@react-native/babel-preset": "^0.82.1",
|
|
@@ -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": "4e6ab737037548b28b46dd00664b780724552501"
|
|
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 = {
|