@jobber/components-native 0.115.5-JOB-183569-a920621.4 → 0.116.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/dist/package.json +7 -5
- package/dist/src/ActivityIndicator/ActivityIndicator.test.js +3 -3
- package/dist/src/ContentOverlay/ContentOverlay.test.js +0 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -5
- package/src/ActivityIndicator/ActivityIndicator.test.tsx +7 -3
- package/src/ActivityIndicator/guide.md +1 -1
- package/src/ContentOverlay/BottomSheetKeyboardAwareScrollView.tsx +3 -4
- package/src/ContentOverlay/ContentOverlay.test.tsx +0 -1
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.116.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -73,11 +73,12 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/runtime": "^7.29.2",
|
|
75
75
|
"@gorhom/bottom-sheet": "^5.2.8",
|
|
76
|
-
"@jobber/design": "0.121.1
|
|
76
|
+
"@jobber/design": "0.121.1",
|
|
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",
|
|
80
80
|
"@storybook/addon-a11y": "10.3.5",
|
|
81
|
+
"@storybook/addon-docs": "10.3.5",
|
|
81
82
|
"@storybook/addon-mcp": "^0.4.2",
|
|
82
83
|
"@storybook/react-native-web-vite": "10.3.5",
|
|
83
84
|
"@testing-library/react-native": "^13.3.3",
|
|
@@ -95,11 +96,12 @@
|
|
|
95
96
|
"react-native-gesture-handler": "^2.29.1",
|
|
96
97
|
"react-native-keyboard-controller": "^1.12.0",
|
|
97
98
|
"react-native-modal-datetime-picker": "^18.0.0",
|
|
98
|
-
"react-native-reanimated": "
|
|
99
|
+
"react-native-reanimated": "4.2.3",
|
|
99
100
|
"react-native-safe-area-context": "^5.4.0",
|
|
100
101
|
"react-native-screens": "^4.18.0",
|
|
101
102
|
"react-native-svg": "^15.1.0",
|
|
102
103
|
"react-native-web": "^0.20.0",
|
|
104
|
+
"react-native-worklets": "0.7.4",
|
|
103
105
|
"react-test-renderer": "19.1.1",
|
|
104
106
|
"storybook": "10.3.5",
|
|
105
107
|
"vite": "^8.0.9"
|
|
@@ -118,10 +120,10 @@
|
|
|
118
120
|
"react-native-gesture-handler": ">=2.22.0",
|
|
119
121
|
"react-native-keyboard-controller": "^1.20.7",
|
|
120
122
|
"react-native-modal-datetime-picker": " >=13.0.0",
|
|
121
|
-
"react-native-reanimated": "^
|
|
123
|
+
"react-native-reanimated": "^4.0.0",
|
|
122
124
|
"react-native-safe-area-context": "^5.4.0",
|
|
123
125
|
"react-native-screens": ">=4.18.0",
|
|
124
126
|
"react-native-svg": ">=12.0.0"
|
|
125
127
|
},
|
|
126
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "d58819450555e691966244925a7152575316b0f5"
|
|
127
129
|
}
|
|
@@ -3,9 +3,9 @@ import { AccessibilityInfo } from "react-native";
|
|
|
3
3
|
import { render } from "@testing-library/react-native";
|
|
4
4
|
import { useReducedMotion } from "react-native-reanimated";
|
|
5
5
|
import { ActivityIndicator } from "./index";
|
|
6
|
-
// `useReducedMotion`
|
|
7
|
-
//
|
|
8
|
-
|
|
6
|
+
// Reanimated's `useReducedMotion` reads the OS setting once at module load,
|
|
7
|
+
// so it is mocked to let tests toggle the reduced-motion branch.
|
|
8
|
+
jest.mock("react-native-reanimated", () => (Object.assign(Object.assign({ __esModule: true }, jest.requireActual("react-native-reanimated")), { useReducedMotion: jest.fn(() => false) })));
|
|
9
9
|
const testId = "ActivityIndicator";
|
|
10
10
|
describe("ActivityIndicator", () => {
|
|
11
11
|
beforeEach(() => {
|
|
@@ -17,7 +17,6 @@ import { Button } from "../Button";
|
|
|
17
17
|
import { Content } from "../Content";
|
|
18
18
|
import { Text } from "../Text";
|
|
19
19
|
jest.unmock("../hooks/useIsScreenReaderEnabled");
|
|
20
|
-
jest.unmock("react-native-reanimated");
|
|
21
20
|
jest.unmock("@gorhom/bottom-sheet");
|
|
22
21
|
jest.mock("@gorhom/bottom-sheet/lib/commonjs/hooks/useAnimatedLayout", () => ({
|
|
23
22
|
// Fix for reanimated not actually running in the test environment.
|