@jobber/components-native 0.70.1-CLEANUPex-46b7571.4 → 0.71.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.70.1-CLEANUPex-46b7571.4+46b7571a",
3
+ "version": "0.71.1",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -82,5 +82,5 @@
82
82
  "react-native-safe-area-context": "^4.5.2",
83
83
  "react-native-svg": ">=12.0.0"
84
84
  },
85
- "gitHead": "46b7571a2a86011e539117702c9d103d20a179a3"
85
+ "gitHead": "d9ef7b5f0325cce3a99a918367d67962f307438b"
86
86
  }
@@ -4,8 +4,10 @@
4
4
  "ActionItemGroup",
5
5
  "ActionLabel",
6
6
  "ActivityIndicator",
7
- "AtlantisContext.Provider",
8
7
  "AtlantisContext.Consumer",
8
+ "AtlantisContext.Provider",
9
+ "AtlantisFormContext.Consumer",
10
+ "AtlantisFormContext.Provider",
9
11
  "AutoLink",
10
12
  "Banner",
11
13
  "BottomSheet",
@@ -23,21 +25,23 @@
23
25
  "Disclosure",
24
26
  "Divider",
25
27
  "EmptyState",
26
- "ErrorMessageContext.Provider",
27
28
  "ErrorMessageContext.Consumer",
29
+ "ErrorMessageContext.Provider",
28
30
  "ErrorMessageProvider",
29
31
  "ErrorMessageWrapper",
32
+ "FilterButton",
30
33
  "Flex",
31
34
  "Form",
35
+ "FormField",
32
36
  "FormMessage",
33
- "AtlantisFormContext.Provider",
34
- "AtlantisFormContext.Consumer",
35
37
  "FormatFile",
36
- "FormField",
37
38
  "Glimmer",
38
39
  "Heading",
39
40
  "Icon",
40
41
  "IconButton",
42
+ "InputAccessoriesContext.Consumer",
43
+ "InputAccessoriesContext.Provider",
44
+ "InputAccessoriesProvider",
41
45
  "InputCurrency",
42
46
  "InputDate",
43
47
  "InputEmail",
@@ -45,16 +49,12 @@
45
49
  "InputNumber",
46
50
  "InputPassword",
47
51
  "InputPressable",
48
- "FilterButton",
49
52
  "InputSearch",
50
53
  "InputText",
51
- "InputAccessoriesContext.Provider",
52
- "InputAccessoriesContext.Consumer",
53
- "InputAccessoriesProvider",
54
54
  "InputTime",
55
55
  "Menu",
56
- "ProgressBar",
57
56
  "Option",
57
+ "ProgressBar",
58
58
  "Select",
59
59
  "StatusLabel",
60
60
  "Switch",
@@ -12,6 +12,7 @@ describe("meta", () => {
12
12
  it("verifies that the meta.json file is up to date", async () => {
13
13
  const meta = await fs.readFile(`${__dirname}/meta.json`, "utf-8");
14
14
  const allNames = findComponentNamesDeep(allExports);
15
+ allNames.sort();
15
16
 
16
17
  expect(JSON.parse(meta)).toStrictEqual({
17
18
  exportedComponents: allNames,
@@ -19,6 +20,7 @@ describe("meta", () => {
19
20
  });
20
21
  });
21
22
 
23
+ // NOTE: Keep this in sync with components/src/utils/meta/meta.test.tsx
22
24
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
25
  function isComponent(name: string, value: any): boolean {
24
26
  const isFirstLetterUppercase = /^[A-Z]/.test(name);
@@ -27,6 +29,7 @@ function isComponent(name: string, value: any): boolean {
27
29
  return isFirstLetterUppercase && isFunctionComponent;
28
30
  }
29
31
 
32
+ // NOTE: Keep this in sync with components/src/utils/meta/meta.test.tsx
30
33
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
31
34
  function isContext(value: any): boolean {
32
35
  return (
@@ -37,6 +40,7 @@ function isContext(value: any): boolean {
37
40
  );
38
41
  }
39
42
 
43
+ // NOTE: Keep this in sync with components/src/utils/meta/meta.test.tsx
40
44
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
41
45
  function isForwardedRef(name: string, value: any): boolean {
42
46
  const isFirstLetterUppercase = /^[A-Z]/.test(name);
@@ -49,6 +53,7 @@ function isForwardedRef(name: string, value: any): boolean {
49
53
  );
50
54
  }
51
55
 
56
+ // NOTE: Keep this in sync with components/src/utils/meta/meta.test.tsx
52
57
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
53
58
  function isMemoizedComponent(name: string, value: any): boolean {
54
59
  const isFirstLetterUppercase = /^[A-Z]/.test(name);
@@ -63,6 +68,7 @@ function isMemoizedComponent(name: string, value: any): boolean {
63
68
  );
64
69
  }
65
70
 
71
+ // NOTE: Keep this in sync with components/src/utils/meta/meta.test.tsx
66
72
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
67
73
  function findComponentNamesDeep(objectOrFunction: any, name?: string) {
68
74
  const entries = [...Object.entries(objectOrFunction)];