@react-types/select 3.0.0-nightly-02433d1f1-251019 → 3.0.0-nightly-ecd229153-251022

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.d.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/select",
3
- "version": "3.0.0-nightly-02433d1f1-251019",
3
+ "version": "3.0.0-nightly-ecd229153-251022",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/shared": "3.0.0-nightly-02433d1f1-251019"
12
+ "@react-types/shared": "3.0.0-nightly-ecd229153-251022"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
package/src/index.d.ts CHANGED
@@ -61,7 +61,9 @@ export interface SelectProps<T, M extends SelectionMode = 'single'> extends Coll
61
61
  /** Sets the default open state of the menu. */
62
62
  defaultOpen?: boolean,
63
63
  /** Method that is called when the open state of the menu changes. */
64
- onOpenChange?: (isOpen: boolean) => void
64
+ onOpenChange?: (isOpen: boolean) => void,
65
+ /** Whether the select should be allowed to be open when the collection is empty. */
66
+ allowsEmptyCollection?: boolean
65
67
  }
66
68
 
67
69
  export interface AriaSelectProps<T, M extends SelectionMode = 'single'> extends SelectProps<T, M>, DOMProps, AriaLabelingProps, FocusableDOMProps {