@os-design/core
Advanced tools
Comparing version 1.0.179 to 1.0.180
@@ -19,3 +19,3 @@ "use strict"; | ||
var _defaultLocale = _interopRequireDefault(require("./utils/defaultLocale")); | ||
var _excluded = ["locale", "onClose"]; | ||
var _excluded = ["locale", "onClose", "loading"]; | ||
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6; | ||
@@ -56,2 +56,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose, | ||
_ref$loading = _ref.loading, | ||
loading = _ref$loading === void 0 ? false : _ref$loading, | ||
rest = _objectWithoutProperties(_ref, _excluded); | ||
@@ -70,2 +72,3 @@ var _useState = (0, _react.useState)(false), | ||
wide: "never", | ||
loading: loading, | ||
onClick: function onClick() { | ||
@@ -87,3 +90,4 @@ return setVisible(true); | ||
autoFocus: true, | ||
locale: locale | ||
locale: locale, | ||
loading: loading | ||
}, rest, { | ||
@@ -90,0 +94,0 @@ ref: ref |
@@ -42,2 +42,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
onClose = () => {}, | ||
loading = false, | ||
...rest | ||
@@ -56,2 +57,3 @@ }, ref) => { | ||
wide: "never", | ||
loading: loading, | ||
onClick: () => setVisible(true), | ||
@@ -69,3 +71,4 @@ "aria-label": locale.searchLabel | ||
autoFocus: true, | ||
locale: locale | ||
locale: locale, | ||
loading: loading | ||
}, rest, { | ||
@@ -72,0 +75,0 @@ ref: ref |
{ | ||
"name": "@os-design/core", | ||
"version": "1.0.179", | ||
"version": "1.0.180", | ||
"license": "UNLICENSED", | ||
@@ -61,3 +61,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "8a8cd2b1472e725aac24204c21e01d61ce5aa11e" | ||
"gitHead": "11b900d189478819eaac6f8e9a5921f47fa87ea7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1982379
17165