@onesy/ui-react 1.0.35 → 1.0.36
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/Share/Share.js +1 -1
- package/esm/Share/Share.js +1 -0
- package/esm/index.js +1 -1
- package/package.json +1 -1
package/Share/Share.js
CHANGED
@@ -266,7 +266,7 @@ const Share = react_1.default.forwardRef((props_, ref) => {
|
|
266
266
|
startAlign: 'center',
|
267
267
|
primary: ((0, jsx_runtime_1.jsx)(Type, Object.assign({ version: 'b3' }, { children: item.name })))
|
268
268
|
}))
|
269
|
-
.map((item, index) => ((0, jsx_runtime_1.jsx)(MenuItem, Object.assign({ onClick: (event) => onClick(item.value, event), menuCloseOnClick: true, button: true }, item, itemProps === null || itemProps === void 0 ? void 0 : itemProps(item, index), MenuItemProps), index)));
|
269
|
+
.map((item, index) => ((0, jsx_runtime_1.jsx)(MenuItem, Object.assign({ onClick: (event) => onClick(item.value, event), noBackground: true, menuCloseOnClick: true, button: true }, item, itemProps === null || itemProps === void 0 ? void 0 : itemProps(item, index), MenuItemProps), index)));
|
270
270
|
if (version === 'menu-items')
|
271
271
|
return menuItemsMoreOptions;
|
272
272
|
const AppendProps = {};
|
package/esm/Share/Share.js
CHANGED
@@ -363,6 +363,7 @@ const Share = /*#__PURE__*/React.forwardRef((props_, ref) => {
|
|
363
363
|
})).map((item, index) => /*#__PURE__*/React.createElement(MenuItem, _extends({
|
364
364
|
key: index,
|
365
365
|
onClick: event => onClick(item.value, event),
|
366
|
+
noBackground: true,
|
366
367
|
menuCloseOnClick: true,
|
367
368
|
button: true
|
368
369
|
}, item, itemProps?.(item, index), MenuItemProps)));
|
package/esm/index.js
CHANGED