@councilbox/councilbox-ui 0.6.18 → 0.6.20

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.
@@ -16,7 +16,7 @@ a.noStyles:hover{
16
16
  `}</style>
17
17
 
18
18
 
19
- # Librería de componentes ui-councilbox v0.6.18
19
+ # Librería de componentes ui-councilbox v0.6.20
20
20
 
21
21
  <h2>Componentes:</h2>
22
22
  <div><a class='noStyles' href='/story/components-accordion--default'>Accordion</a></div>
@@ -24,6 +24,12 @@ a.noStyles:hover{
24
24
  <h2>v0.5.4</h2>
25
25
  <div>Fix zIndex label InputText y SelectInput</div>
26
26
  </div>
27
+ <h2>v0.6.20</h2>
28
+ <div>Fix posicion del value en el SelectInput</div>
29
+
30
+ <h2>v0.6.19</h2>
31
+ <div>Fix error value de SelectInput</div>
32
+
27
33
  <h2>v0.6.18</h2>
28
34
  <div>Fix import de SelectInput</div>
29
35
 
@@ -150,6 +150,8 @@ var SelectInput = function SelectInput(_ref) {
150
150
  propsFormControl = _ref.propsFormControl,
151
151
  props = _objectWithoutProperties(_ref, _excluded);
152
152
 
153
+ var value = props.value;
154
+
153
155
  var getIcon = function getIcon() {
154
156
  var icon = /*#__PURE__*/_react.default.createElement("i", {
155
157
  className: "cbx-inputText-endAdornment ".concat(endAdornment)
@@ -200,6 +202,10 @@ var SelectInput = function SelectInput(_ref) {
200
202
  return variantInput;
201
203
  };
202
204
 
205
+ if (Object.hasOwn(props, 'value') && props.value === undefined) {
206
+ value = '';
207
+ }
208
+
203
209
  return /*#__PURE__*/_react.default.createElement(_FormControl.default, _extends({
204
210
  fullWidth: fullWidth,
205
211
  sx: _objectSpread(_objectSpread({
@@ -275,6 +281,7 @@ var SelectInput = function SelectInput(_ref) {
275
281
  }
276
282
  }
277
283
  }, props, {
284
+ value: value,
278
285
  InputProps: {
279
286
  endAdornment: getIcon()
280
287
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@councilbox/councilbox-ui",
3
- "version": "0.6.18",
3
+ "version": "0.6.20",
4
4
  "main": "dist/build-index.js",
5
5
  "files": [
6
6
  "dist",