@wix/design-system
Version:
@wix/design-system
43 lines (42 loc) • 1.54 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.wixDesignSystemProviderDriverFactory = void 0;
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
var wixDesignSystemProviderDriverFactory = base => {
return {
exists: function () {
var _exists = (0, _asyncToGenerator2.default)(function* () {
return base.exists();
});
function exists() {
return _exists.apply(this, arguments);
}
return exists;
}(),
element: function () {
var _element = (0, _asyncToGenerator2.default)(function* () {
return base.getNative();
});
function element() {
return _element.apply(this, arguments);
}
return element;
}(),
// TODO: remove with major release
/**
* @deprecated This method is deprecated and will be removed in the next major release. It's always true now, since old branding doesn't exist anymore.
*/
isNewColorsBrandingEnabled: function () {
var _isNewColorsBrandingEnabled = (0, _asyncToGenerator2.default)(function* () {
return true;
});
function isNewColorsBrandingEnabled() {
return _isNewColorsBrandingEnabled.apply(this, arguments);
}
return isNewColorsBrandingEnabled;
}()
};
};
exports.wixDesignSystemProviderDriverFactory = wixDesignSystemProviderDriverFactory;
//# sourceMappingURL=WixDesignSystemProvider.uni.driver.js.map