grep-components 1.22.0-GREPF-1805.1 → 1.22.0-GREPF-822.1
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.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3026,8 +3026,7 @@ var CollapsableMenu = function (_a) {
|
|
|
3026
3026
|
var TooltipMenuItem = function (_a) {
|
|
3027
3027
|
var children = _a.children, tooltipText = _a.tooltipText, disabled = _a.disabled, props = __rest$1(_a, ["children", "tooltipText", "disabled"]);
|
|
3028
3028
|
return (React__default.createElement(Tooltip, { title: tooltipText },
|
|
3029
|
-
React__default.createElement("
|
|
3030
|
-
React__default.createElement(MenuItem, __assign({ role: "menuitem", disabled: disabled }, props), children))));
|
|
3029
|
+
React__default.createElement(MenuItem, __assign({ role: "menuitem", disabled: disabled, sx: { pointerEvents: 'inherit !important' } }, props), children)));
|
|
3031
3030
|
};
|
|
3032
3031
|
|
|
3033
3032
|
var useStyles$g = makeStyles()(function (_a, _b) {
|
|
@@ -3992,13 +3991,16 @@ var GrepSelect = function (props) {
|
|
|
3992
3991
|
} }, label),
|
|
3993
3992
|
React.createElement(Select, __assign({}, rest, { inputProps: __assign({ id: id }, inputProps), disabled: !selectItems || disabled, value: value === null ? '' : value, style: { minWidth: labelWidth + (outlined ? 35 : 25) },
|
|
3994
3993
|
// @todo: make input respect label length
|
|
3995
|
-
input: outlined ? React.createElement(OutlinedInput, { label: label }) : React.createElement(Input, null), MenuProps:
|
|
3994
|
+
input: outlined ? React.createElement(OutlinedInput, { label: label }) : React.createElement(Input, null), MenuProps: {
|
|
3995
|
+
anchorOrigin: {
|
|
3996
3996
|
vertical: 'bottom',
|
|
3997
3997
|
horizontal: 'center',
|
|
3998
|
-
},
|
|
3998
|
+
},
|
|
3999
|
+
transformOrigin: {
|
|
3999
4000
|
vertical: 'top',
|
|
4000
4001
|
horizontal: 'center',
|
|
4001
|
-
}
|
|
4002
|
+
},
|
|
4003
|
+
} }),
|
|
4002
4004
|
unselectOption && (React.createElement(MenuItem, { value: "" },
|
|
4003
4005
|
React.createElement("em", null, "Fjern valgt"))),
|
|
4004
4006
|
selectItems.map(function (_a, i) {
|