@onesy/ui-react 1.0.69 → 1.0.70

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/Select/Select.js CHANGED
@@ -257,7 +257,7 @@ const Select = react_1.default.forwardRef((props_, ref) => {
257
257
  if (valueItem !== undefined)
258
258
  return valueItem;
259
259
  }
260
- return noSelectText || 'Select an option';
260
+ return l(noSelectText) || l('Select an option');
261
261
  };
262
262
  const renderValue = (itemValue = value) => {
263
263
  const item = !!(items === null || items === void 0 ? void 0 : items.length) ? items.find((item_) => getValue(item_) === getValue(itemValue)) : children.find((item_) => { var _a; return getValue((_a = item_.props) === null || _a === void 0 ? void 0 : _a.value) === getValue(itemValue); });
@@ -293,7 +293,7 @@ const Select = /*#__PURE__*/React.forwardRef((props_, ref) => {
293
293
  const valueItem = getObjectValue(itemObject, ...properties);
294
294
  if (valueItem !== undefined) return valueItem;
295
295
  }
296
- return noSelectText || 'Select an option';
296
+ return l(noSelectText) || l('Select an option');
297
297
  };
298
298
  const renderValue = function () {
299
299
  let itemValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : value;
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.69
1
+ /** @license UiReact v1.0.70
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar <lazareric2@gmail.com>",