@councilbox/councilbox-ui 0.5.3 → 0.5.4
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.
|
@@ -271,9 +271,11 @@ var InputText = function InputText(_ref) {
|
|
|
271
271
|
return /*#__PURE__*/_react.default.createElement(CssTextField, _extends({
|
|
272
272
|
id: id,
|
|
273
273
|
className: className,
|
|
274
|
-
sx: _objectSpread({
|
|
275
|
-
minWidth: width || '15rem'
|
|
276
|
-
|
|
274
|
+
sx: _objectSpread(_objectSpread({
|
|
275
|
+
minWidth: width || '15rem'
|
|
276
|
+
}, width ? {
|
|
277
|
+
width: width || ''
|
|
278
|
+
} : {}), {}, {
|
|
277
279
|
minHeight: '3rem',
|
|
278
280
|
'& .MuiOutlinedInput-notchedOutline': {
|
|
279
281
|
'& legend': {
|
|
@@ -37,18 +37,21 @@ var DesignSelectInput = function DesignSelectInput() {
|
|
|
37
37
|
|
|
38
38
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
39
39
|
style: {
|
|
40
|
-
display: 'flex'
|
|
40
|
+
display: 'flex',
|
|
41
|
+
width: '100%'
|
|
41
42
|
}
|
|
42
43
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
43
44
|
style: {
|
|
44
|
-
marginRight: '4px'
|
|
45
|
+
marginRight: '4px',
|
|
46
|
+
width: '100%'
|
|
45
47
|
}
|
|
46
48
|
}, /*#__PURE__*/_react.default.createElement(_SelectInput.default, {
|
|
47
49
|
label: 'Majority Type',
|
|
48
50
|
onChange: function onChange(e) {
|
|
49
51
|
return setItem(e.target.value);
|
|
50
52
|
},
|
|
51
|
-
value: item //
|
|
53
|
+
value: item // fullWidth={true}
|
|
54
|
+
// variant={'filled'}
|
|
52
55
|
|
|
53
56
|
}, majorityTypes.map(function (type) {
|
|
54
57
|
return /*#__PURE__*/_react.default.createElement(_material.MenuItem, {
|
|
@@ -202,9 +202,11 @@ var SelectInput = function SelectInput(_ref) {
|
|
|
202
202
|
|
|
203
203
|
return /*#__PURE__*/_react.default.createElement(_FormControl.default, _extends({
|
|
204
204
|
fullWidth: fullWidth,
|
|
205
|
-
sx: _objectSpread({
|
|
206
|
-
minWidth: width || '15rem'
|
|
207
|
-
|
|
205
|
+
sx: _objectSpread(_objectSpread({
|
|
206
|
+
minWidth: width || '15rem'
|
|
207
|
+
}, width ? {
|
|
208
|
+
width: width || ''
|
|
209
|
+
} : {}), {}, {
|
|
208
210
|
minHeight: '3rem'
|
|
209
211
|
}, sxFormControl)
|
|
210
212
|
}, propsFormControl), label && /*#__PURE__*/_react.default.createElement(_InputLabel.default, {
|
|
@@ -247,9 +249,11 @@ var SelectInput = function SelectInput(_ref) {
|
|
|
247
249
|
}, label), /*#__PURE__*/_react.default.createElement(CssSelect, _extends({
|
|
248
250
|
id: id,
|
|
249
251
|
className: className,
|
|
250
|
-
sx: _objectSpread({
|
|
251
|
-
minWidth: width || '15rem'
|
|
252
|
-
|
|
252
|
+
sx: _objectSpread(_objectSpread({
|
|
253
|
+
minWidth: width || '15rem'
|
|
254
|
+
}, width ? {
|
|
255
|
+
width: width || ''
|
|
256
|
+
} : {}), {}, {
|
|
253
257
|
maxHeight: '3rem',
|
|
254
258
|
height: '3rem',
|
|
255
259
|
'& .MuiOutlinedInput-notchedOutline': {
|