grep-components 1.21.0 → 1.22.0-GREPF-1805.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 +3 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3992,16 +3992,13 @@ var GrepSelect = function (props) {
|
|
|
3992
3992
|
} }, label),
|
|
3993
3993
|
React.createElement(Select, __assign({}, rest, { inputProps: __assign({ id: id }, inputProps), disabled: !selectItems || disabled, value: value === null ? '' : value, style: { minWidth: labelWidth + (outlined ? 35 : 25) },
|
|
3994
3994
|
// @todo: make input respect label length
|
|
3995
|
-
input: outlined ? React.createElement(OutlinedInput, { label: label }) : React.createElement(Input, null), MenuProps: {
|
|
3996
|
-
anchorOrigin: {
|
|
3995
|
+
input: outlined ? React.createElement(OutlinedInput, { label: label }) : React.createElement(Input, null), MenuProps: __assign(__assign({}, rest.MenuProps), { anchorOrigin: {
|
|
3997
3996
|
vertical: 'bottom',
|
|
3998
3997
|
horizontal: 'center',
|
|
3999
|
-
},
|
|
4000
|
-
transformOrigin: {
|
|
3998
|
+
}, transformOrigin: {
|
|
4001
3999
|
vertical: 'top',
|
|
4002
4000
|
horizontal: 'center',
|
|
4003
|
-
},
|
|
4004
|
-
} }),
|
|
4001
|
+
} }) }),
|
|
4005
4002
|
unselectOption && (React.createElement(MenuItem, { value: "" },
|
|
4006
4003
|
React.createElement("em", null, "Fjern valgt"))),
|
|
4007
4004
|
selectItems.map(function (_a, i) {
|