@react-hive/honey-layout 17.8.0 → 17.9.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.
package/dist/index.dev.cjs
CHANGED
|
@@ -3966,12 +3966,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3966
3966
|
|
|
3967
3967
|
|
|
3968
3968
|
|
|
3969
|
-
const HoneyContextMenu = ({ children, subProps, options, optionProps,
|
|
3969
|
+
const HoneyContextMenu = ({ children, subProps, options, optionProps, roleOptions, context, ...popupProps }) => {
|
|
3970
3970
|
const { contentProps } = popupProps;
|
|
3971
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyPopup__WEBPACK_IMPORTED_MODULE_1__.HoneyPopup, { context: context, content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__.HoneyContextMenuContent, { options: options, optionProps: optionProps, contentProps: contentProps, ...subProps }),
|
|
3972
|
-
|
|
3973
|
-
...
|
|
3974
|
-
},
|
|
3971
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyPopup__WEBPACK_IMPORTED_MODULE_1__.HoneyPopup, { context: context, content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__.HoneyContextMenuContent, { options: options, optionProps: optionProps, contentProps: contentProps, ...subProps }), roleOptions: {
|
|
3972
|
+
role: 'menu',
|
|
3973
|
+
...roleOptions,
|
|
3974
|
+
}, ...popupProps, children: children }) }));
|
|
3975
3975
|
};
|
|
3976
3976
|
|
|
3977
3977
|
|