cozy-bar 29.3.0 → 30.0.0

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.
@@ -39,6 +39,8 @@ var Bar = exports.Bar = function Bar(_ref) {
39
39
  barSearch = _ref.barSearch,
40
40
  onLogOut = _ref.onLogOut,
41
41
  userActionRequired = _ref.userActionRequired,
42
+ appIcon = _ref.appIcon,
43
+ appTextIcon = _ref.appTextIcon,
42
44
  searchOptions = _ref.searchOptions,
43
45
  isInvertedTheme = _ref.isInvertedTheme,
44
46
  appSlug = _ref.appSlug,
@@ -96,7 +98,8 @@ var Bar = exports.Bar = function Bar(_ref) {
96
98
  className: "u-mr-half",
97
99
  flexItem: true
98
100
  })), /*#__PURE__*/_react.default.createElement(_AppTitle.default, {
99
- slug: appSlug
101
+ appIcon: appIcon,
102
+ appTextIcon: appTextIcon
100
103
  }));
101
104
  };
102
105
  var renderTwakeRight = function renderTwakeRight() {
@@ -82,6 +82,8 @@ var BarComponent = exports.BarComponent = function BarComponent(_ref2) {
82
82
  onLogOut = _ref2.onLogOut,
83
83
  _ref2$disableInternal = _ref2.disableInternalStore,
84
84
  disableInternalStore = _ref2$disableInternal === void 0 ? false : _ref2$disableInternal,
85
+ appIcon = _ref2.appIcon,
86
+ appTextIcon = _ref2.appTextIcon,
85
87
  _ref2$searchOptions = _ref2.searchOptions,
86
88
  searchOptions = _ref2$searchOptions === void 0 ? {
87
89
  enabled: true
@@ -132,6 +134,8 @@ var BarComponent = exports.BarComponent = function BarComponent(_ref2) {
132
134
  isPublic: isPublicForce || isPublic,
133
135
  onLogOut: onLogOut,
134
136
  userActionRequired: (0, _dom.getUserActionRequired)(),
137
+ appIcon: appIcon,
138
+ appTextIcon: appTextIcon,
135
139
  searchOptions: searchOptions,
136
140
  componentsProps: componentsProps,
137
141
  onDrawer: function onDrawer(visible) {
package/dist/index.js CHANGED
@@ -71,4 +71,4 @@ var _BarProvider = _interopRequireDefault(require("./components/BarProvider"));
71
71
  var _reducers = require("./lib/reducers");
72
72
  /* global __VERSION__ */
73
73
 
74
- var version = exports.version = "\"29.3.0\"";
74
+ var version = exports.version = "\"30.0.0\"";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-bar",
3
- "version": "29.3.0",
3
+ "version": "30.0.0",
4
4
  "description": "cozy-bar.js library, a small lib provided by cozy-stack to inject the Cozy-bar component into each app",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy Cloud <contact@cozycloud.cc> (https://cozy.io/)",
@@ -58,7 +58,7 @@
58
58
  "cozy-logger": "1.9.1",
59
59
  "cozy-realtime": "^4.0.5",
60
60
  "cozy-search": "^0.14.0",
61
- "cozy-ui": "^135.0.0",
61
+ "cozy-ui": "^137.0.0",
62
62
  "cozy-ui-plus": "^4.0.0",
63
63
  "eslint-config-cozy-app": "2.0.0",
64
64
  "identity-obj-proxy": "3.0.0",
@@ -93,7 +93,7 @@
93
93
  "cozy-interapp": ">=0.4.9",
94
94
  "cozy-realtime": ">=4.0.5",
95
95
  "cozy-search": ">=0.14.0",
96
- "cozy-ui": ">=135.0.0",
96
+ "cozy-ui": ">=137.0.0",
97
97
  "cozy-ui-plus": ">=4.0.0",
98
98
  "react": ">=16.10.1",
99
99
  "react-dom": ">=16.10.1",