@esri/hub-common 9.34.0 → 9.35.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.
@@ -49,6 +49,12 @@ export interface IFacet {
49
49
  * Number of facet options to show by default. Only applies to `multi-select`, and defaults to all.
50
50
  */
51
51
  optionLimit?: number;
52
+ /**
53
+ * Specifies how to order the facet options. Only applies to `multi-select`, and defaults to count.
54
+ * - count: orders by `option.count` in descending order of frequency
55
+ * - label: orders by `option.label` in ascending alphabetical order
56
+ */
57
+ orderBy?: "count" | "label";
52
58
  accordionClosed?: boolean;
53
59
  type?: "single-select" | "multi-select" | "date-range" | "histogram";
54
60
  pageSize?: number;
@@ -1,5 +1,5 @@
1
1
  /* @preserve
2
- * @esri/hub-common - v9.33.0 - Fri May 20 2022 15:01:18 GMT+0000 (Coordinated Universal Time)
2
+ * @esri/hub-common - v9.34.0 - Mon May 23 2022 19:22:44 GMT+0000 (Coordinated Universal Time)
3
3
  * Copyright (c) 2022 Environmental Systems Research Institute, Inc.
4
4
  * Apache-2.0
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/hub-common",
3
- "version": "9.34.0",
3
+ "version": "9.35.0",
4
4
  "description": "Common TypeScript types and utility functions for @esri/hub.js.",
5
5
  "main": "dist/node/index.js",
6
6
  "unpkg": "dist/umd/common.umd.js",