@react-types/shared 3.0.0-nightly.2096 → 3.0.0-nightly.2104

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": "@react-types/shared",
3
- "version": "3.0.0-nightly.2096+ed41ba906",
3
+ "version": "3.0.0-nightly.2104+83677f944",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "ed41ba9069fe4ee98b18851cf4891bc6e457464f"
17
+ "gitHead": "83677f94489fdfa535fd511157f5292ad80b7b09"
18
18
  }
@@ -151,7 +151,10 @@ export interface Collection<T> extends Iterable<T> {
151
151
  getLastKey(): Key | null,
152
152
 
153
153
  /** Iterate over the child items of the given key. */
154
- getChildren?(key: Key): Iterable<T>
154
+ getChildren?(key: Key): Iterable<T>,
155
+
156
+ /** Returns a string representation of the item's contents. */
157
+ getTextValue?(key: Key): string
155
158
  }
156
159
 
157
160
  export interface Node<T> {