@jobber/components 6.11.1 → 6.11.2

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.
@@ -84,7 +84,7 @@ export interface DataListProps<T extends DataListObject> {
84
84
  /**
85
85
  * Total number of items in the DataList.
86
86
  *
87
- * This renders an "N result" text with the DataList
87
+ * This renders an "N results" text with the DataList
88
88
  * that helps users know how many items they have
89
89
  * in the list
90
90
  */
@@ -20,7 +20,9 @@ function DataListTotalCount({ totalCount, loading, }) {
20
20
  React.createElement(Text.Text, { variation: "subdued" },
21
21
  "(",
22
22
  totalCount.toLocaleString(),
23
- " results)")));
23
+ " ",
24
+ totalCount == 1 ? "result" : "results",
25
+ ")")));
24
26
  }
25
27
  return null;
26
28
  }
@@ -18,7 +18,9 @@ function DataListTotalCount({ totalCount, loading, }) {
18
18
  React.createElement(Text, { variation: "subdued" },
19
19
  "(",
20
20
  totalCount.toLocaleString(),
21
- " results)")));
21
+ " ",
22
+ totalCount == 1 ? "result" : "results",
23
+ ")")));
22
24
  }
23
25
  return null;
24
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.11.1",
3
+ "version": "6.11.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -487,5 +487,5 @@
487
487
  "> 1%",
488
488
  "IE 10"
489
489
  ],
490
- "gitHead": "ed25dd5e58b1119e8c52ec8a2b79fdd19cc74de1"
490
+ "gitHead": "a2e479d20926ac631b59cbefeb6b6f8558f98235"
491
491
  }