@jobber/components-native 0.80.0 → 0.80.1-upgrade-to-feb557b.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/package.json +2 -2
- package/dist/src/Form/Form.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/AtlantisThemeContext/AtlantisThemeContext.d.ts +2 -1
- package/dist/types/src/Glimmer/Glimmer.d.ts +2 -1
- package/dist/types/src/ProgressBar/ProgressBarStepped.d.ts +2 -1
- package/jestSetup.js +1 -0
- package/package.json +2 -2
- package/src/Disclosure/__snapshots__/Disclosure.test.tsx.snap +1 -1
- package/src/Form/Form.test.tsx +1 -1
- package/src/Form/Form.tsx +1 -0
- package/src/Switch/components/BaseSwitch/__snapshots__/BaseSwitch.test.tsx.snap +6 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { AtlantisThemeContextProviderProps, AtlantisThemeContextValue } from "./types";
|
|
2
|
-
export declare function AtlantisThemeContextProvider({ children, dangerouslyOverrideTheme, }: AtlantisThemeContextProviderProps): JSX.Element;
|
|
3
|
+
export declare function AtlantisThemeContextProvider({ children, dangerouslyOverrideTheme, }: AtlantisThemeContextProviderProps): React.JSX.Element;
|
|
3
4
|
export declare function useAtlantisTheme(): AtlantisThemeContextValue;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { useSizeStyles } from "./Glimmer.size.style";
|
|
2
3
|
import { useShapeStyles } from "./Glimmer.shape.style";
|
|
3
4
|
export type GlimmerShapes = keyof ReturnType<typeof useShapeStyles>;
|
|
@@ -26,5 +27,5 @@ interface GlimmerProps {
|
|
|
26
27
|
}
|
|
27
28
|
export declare const GLIMMER_TEST_ID = "ATL-Glimmer";
|
|
28
29
|
export declare const GLIMMER_SHINE_TEST_ID = "ATL-Glimmer-Shine";
|
|
29
|
-
export declare function Glimmer({ width, shape, size, timing, }: GlimmerProps): JSX.Element;
|
|
30
|
+
export declare function Glimmer({ width, shape, size, timing, }: GlimmerProps): React.JSX.Element;
|
|
30
31
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
interface ProgressBarSteppedProps {
|
|
2
3
|
readonly total: number;
|
|
3
4
|
readonly current: number;
|
|
@@ -5,5 +6,5 @@ interface ProgressBarSteppedProps {
|
|
|
5
6
|
readonly loading?: boolean;
|
|
6
7
|
readonly inProgress?: number;
|
|
7
8
|
}
|
|
8
|
-
export declare function ProgressBarStepped({ total, current, color, loading, inProgress, }: ProgressBarSteppedProps): JSX.Element;
|
|
9
|
+
export declare function ProgressBarStepped({ total, current, color, loading, inProgress, }: ProgressBarSteppedProps): React.JSX.Element;
|
|
9
10
|
export {};
|
package/jestSetup.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.80.
|
|
3
|
+
"version": "0.80.1-upgrade-to-feb557b.16+feb557bf",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"react-native-safe-area-context": "^4.5.2",
|
|
81
81
|
"react-native-svg": ">=12.0.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "feb557bf7d157f62138d5d34303d9fdb2cf61fb1"
|
|
84
84
|
}
|
|
@@ -370,7 +370,7 @@ exports[`should not render the caret when the Disclosure is empty 1`] = `
|
|
|
370
370
|
}
|
|
371
371
|
accessible={true}
|
|
372
372
|
collapsable={false}
|
|
373
|
-
focusable={
|
|
373
|
+
focusable={false}
|
|
374
374
|
onClick={[Function]}
|
|
375
375
|
onResponderGrant={[Function]}
|
|
376
376
|
onResponderMove={[Function]}
|
package/src/Form/Form.test.tsx
CHANGED
|
@@ -545,7 +545,7 @@ describe("Form", () => {
|
|
|
545
545
|
});
|
|
546
546
|
|
|
547
547
|
describe("Safe Area", () => {
|
|
548
|
-
it("does render a safe area when there's
|
|
548
|
+
it("does render a safe area when there's NO saveButtonOffset provided", () => {
|
|
549
549
|
const { getByTestId } = render(<FormTest onSubmit={onSubmitMock} />);
|
|
550
550
|
|
|
551
551
|
expect(getByTestId("ATL-FormSafeArea")).toBeDefined();
|
package/src/Form/Form.tsx
CHANGED
|
@@ -11,7 +11,7 @@ exports[`renders a Switch with defaultValue false 1`] = `
|
|
|
11
11
|
}
|
|
12
12
|
collapsable={false}
|
|
13
13
|
disabled={false}
|
|
14
|
-
handlerTag={
|
|
14
|
+
handlerTag={-1}
|
|
15
15
|
handlerType="NativeViewGestureHandler"
|
|
16
16
|
onChange={[Function]}
|
|
17
17
|
onGestureHandlerEvent={[Function]}
|
|
@@ -47,7 +47,7 @@ exports[`renders a Switch with defaultValue true 1`] = `
|
|
|
47
47
|
}
|
|
48
48
|
collapsable={false}
|
|
49
49
|
disabled={false}
|
|
50
|
-
handlerTag={
|
|
50
|
+
handlerTag={-1}
|
|
51
51
|
handlerType="NativeViewGestureHandler"
|
|
52
52
|
onChange={[Function]}
|
|
53
53
|
onGestureHandlerEvent={[Function]}
|
|
@@ -83,7 +83,7 @@ exports[`renders a Switch with value false 1`] = `
|
|
|
83
83
|
}
|
|
84
84
|
collapsable={false}
|
|
85
85
|
disabled={false}
|
|
86
|
-
handlerTag={
|
|
86
|
+
handlerTag={-1}
|
|
87
87
|
handlerType="NativeViewGestureHandler"
|
|
88
88
|
onChange={[Function]}
|
|
89
89
|
onGestureHandlerEvent={[Function]}
|
|
@@ -119,7 +119,7 @@ exports[`renders a Switch with value true 1`] = `
|
|
|
119
119
|
}
|
|
120
120
|
collapsable={false}
|
|
121
121
|
disabled={false}
|
|
122
|
-
handlerTag={1}
|
|
122
|
+
handlerTag={-1}
|
|
123
123
|
handlerType="NativeViewGestureHandler"
|
|
124
124
|
onChange={[Function]}
|
|
125
125
|
onGestureHandlerEvent={[Function]}
|
|
@@ -155,7 +155,7 @@ exports[`renders a disabled Switch with value false 1`] = `
|
|
|
155
155
|
}
|
|
156
156
|
collapsable={false}
|
|
157
157
|
disabled={true}
|
|
158
|
-
handlerTag={
|
|
158
|
+
handlerTag={-1}
|
|
159
159
|
handlerType="NativeViewGestureHandler"
|
|
160
160
|
onChange={[Function]}
|
|
161
161
|
onGestureHandlerEvent={[Function]}
|
|
@@ -191,7 +191,7 @@ exports[`renders a disabled Switch with value true 1`] = `
|
|
|
191
191
|
}
|
|
192
192
|
collapsable={false}
|
|
193
193
|
disabled={true}
|
|
194
|
-
handlerTag={
|
|
194
|
+
handlerTag={-1}
|
|
195
195
|
handlerType="NativeViewGestureHandler"
|
|
196
196
|
onChange={[Function]}
|
|
197
197
|
onGestureHandlerEvent={[Function]}
|