@jobber/components-native 0.107.2 → 0.107.3

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.
@@ -417,6 +417,7 @@ export function IconSizesExample() {
417
417
  | | `future` |
418
418
  | | `history` |
419
419
  | | `import` |
420
+ | | `merge` |
420
421
  | | `redo` |
421
422
  | | `remove` |
422
423
  | | `search` |
@@ -21,6 +21,7 @@ for the “emptiness” may include, but are not limited to…
21
21
  * Search results with no match
22
22
  * An error has resulted in the user not being able to access content they
23
23
  otherwise could
24
+ * A specific field doesn't have a value (for example, a custom field that the user hasn't populated)
24
25
 
25
26
  ## Solution
26
27
 
@@ -63,6 +64,34 @@ a single Banner can look out of place.
63
64
  </Box>
64
65
  ```
65
66
 
67
+ ### Field-level empty states
68
+
69
+ When a field doesn't have a value, use a dash to indicate the lack of a value.
70
+ This provides:
71
+
72
+ * confirmation that nothing was entered
73
+ * confirmation that something *can* be entered there should the information require an update
74
+
75
+ ```tsx
76
+ <Card>
77
+ <Content>
78
+ <Heading level={4}>Additional details</Heading>
79
+ <Stack gap="smallest">
80
+ <Text size="small" variation="subdued">Preferred service date</Text>
81
+ <Text>June 25, 2026</Text>
82
+ </Stack>
83
+ <Stack gap="smallest">
84
+ <Text size="small" variation="subdued">Gate code</Text>
85
+ <Text>—</Text>
86
+ </Stack>
87
+ <Stack gap="smallest">
88
+ <Text size="small" variation="subdued">Additional requests</Text>
89
+ <Text>—</Text>
90
+ </Stack>
91
+ </Content>
92
+ </Card>
93
+ ```
94
+
66
95
  ### When the user can't add content
67
96
 
68
97
  When a card is empty, and there is no way for the user to add content, you
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.107.2",
3
+ "version": "0.107.3",
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.106.1",
76
+ "@jobber/design": "0.107.0",
77
77
  "@jobber/hooks": "2.21.0",
78
78
  "@react-native-community/datetimepicker": "^8.4.5",
79
79
  "@react-native/babel-preset": "^0.82.1",
@@ -124,5 +124,5 @@
124
124
  "react-native-screens": ">=4.18.0",
125
125
  "react-native-svg": ">=12.0.0"
126
126
  },
127
- "gitHead": "3f6678b1792101e43e544ec51cfa17d883362460"
127
+ "gitHead": "f56f1035f43410c3b2597e5198adf7fdce8b3453"
128
128
  }