grep-components 1.22.0 → 1.23.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.js +3 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4091,16 +4091,13 @@ var GrepSelect = function (props) {
|
|
|
4091
4091
|
} }, label),
|
|
4092
4092
|
React.createElement(Select, __assign({}, rest, { inputProps: __assign({ id: id }, inputProps), disabled: !selectItems || disabled, value: value === null ? '' : value, style: { minWidth: labelWidth + (outlined ? 35 : 25) },
|
|
4093
4093
|
// @todo: make input respect label length
|
|
4094
|
-
input: outlined ? React.createElement(OutlinedInput, { label: label }) : React.createElement(Input, null), MenuProps: {
|
|
4095
|
-
anchorOrigin: {
|
|
4094
|
+
input: outlined ? React.createElement(OutlinedInput, { label: label }) : React.createElement(Input, null), MenuProps: __assign(__assign({}, rest.MenuProps), { anchorOrigin: {
|
|
4096
4095
|
vertical: 'bottom',
|
|
4097
4096
|
horizontal: 'center',
|
|
4098
|
-
},
|
|
4099
|
-
transformOrigin: {
|
|
4097
|
+
}, transformOrigin: {
|
|
4100
4098
|
vertical: 'top',
|
|
4101
4099
|
horizontal: 'center',
|
|
4102
|
-
},
|
|
4103
|
-
} }),
|
|
4100
|
+
} }) }),
|
|
4104
4101
|
unselectOption && (React.createElement(MenuItem, { value: "" },
|
|
4105
4102
|
React.createElement("em", null, "Fjern valgt"))),
|
|
4106
4103
|
selectItems.map(function (_a, i) {
|