@react-hive/honey-layout 18.2.0 → 18.3.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/components/HoneyContextMenu/HoneyContextMenu.d.ts +1 -1
- package/dist/components/HoneyGrid/HoneyGridStyled.d.ts +1 -1
- package/dist/components/HoneyGridColumn/HoneyGridColumnStyled.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +5 -2
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.dev.cjs
CHANGED
|
@@ -3966,8 +3966,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3966
3966
|
|
|
3967
3967
|
|
|
3968
3968
|
|
|
3969
|
-
const HoneyContextMenu = ({ options, renderOption, optionProps, roleOptions, optionsProps, context, ...props }) => {
|
|
3970
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyPopup__WEBPACK_IMPORTED_MODULE_1__.HoneyPopup, { context: context,
|
|
3969
|
+
const HoneyContextMenu = ({ options, renderOption, optionProps, referenceUserProps, roleOptions, optionsProps, context, ...props }) => {
|
|
3970
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyPopup__WEBPACK_IMPORTED_MODULE_1__.HoneyPopup, { context: context, referenceUserProps: {
|
|
3971
|
+
onClick: e => e.stopPropagation(),
|
|
3972
|
+
...referenceUserProps,
|
|
3973
|
+
}, content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__.HoneyContextMenuContent, { options: options, renderOption: renderOption, optionProps: optionProps, popupProps: props, ...optionsProps }), roleOptions: {
|
|
3971
3974
|
role: 'menu',
|
|
3972
3975
|
...roleOptions,
|
|
3973
3976
|
}, useArrow: true, "data-testid": "honey-context-menu", ...props }));
|