@react-types/menu 3.4.0 → 3.4.1-nightly.2922
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 +4 -4
- package/src/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/menu",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1-nightly.2922+115968642",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"url": "https://github.com/adobe/react-spectrum"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@react-types/overlays": "
|
|
13
|
-
"@react-types/shared": "
|
|
12
|
+
"@react-types/overlays": "3.5.2-nightly.2922+115968642",
|
|
13
|
+
"@react-types/shared": "3.0.0-nightly.1237+115968642"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": "^16.8.0 || ^17.0.0-rc.1"
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "11596864232ede67642f304e175a678eafcbb176"
|
|
22
22
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export interface MenuProps<T> extends CollectionBase<T>, MultipleSelection {
|
|
|
57
57
|
export interface AriaMenuProps<T> extends MenuProps<T>, DOMProps, AriaLabelingProps {}
|
|
58
58
|
export interface SpectrumMenuProps<T> extends AriaMenuProps<T>, StyleProps {}
|
|
59
59
|
|
|
60
|
-
export interface SpectrumActionMenuProps<T> extends CollectionBase<T>, MenuTriggerProps, DOMProps, AriaLabelingProps {
|
|
60
|
+
export interface SpectrumActionMenuProps<T> extends CollectionBase<T>, MenuTriggerProps, StyleProps, DOMProps, AriaLabelingProps {
|
|
61
61
|
/**
|
|
62
62
|
* Alignment of the menu relative to the trigger.
|
|
63
63
|
* @default 'start'
|
|
@@ -80,5 +80,5 @@ export interface SpectrumActionMenuProps<T> extends CollectionBase<T>, MenuTrigg
|
|
|
80
80
|
/** Whether the element should receive focus on render. */
|
|
81
81
|
autoFocus?: boolean,
|
|
82
82
|
/** Handler that is called when an item is selected. */
|
|
83
|
-
onAction?: (key: Key) => void
|
|
83
|
+
onAction?: (key: Key) => void
|
|
84
84
|
}
|