cozy-bar 8.9.2 → 8.9.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-bar",
3
- "version": "8.9.2",
3
+ "version": "8.9.4",
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/cozy-bar.js",
6
6
  "author": "Cozy Cloud <contact@cozycloud.cc> (https://cozy.io/)",
@@ -65,7 +65,6 @@ export class AppItem extends React.Component {
65
65
 
66
66
  render() {
67
67
  const { useHomeIcon, app } = this.props
68
-
69
68
  const dataIcon = app.slug ? `icon-${app.slug}` : ''
70
69
  const appName = getAppDisplayName(app)
71
70
 
@@ -74,6 +73,7 @@ export class AppItem extends React.Component {
74
73
  onAppSwitch={this.onAppSwitch}
75
74
  slug={app.slug}
76
75
  href={this.buildAppUrl(app.href) || ''}
76
+ app={app}
77
77
  >
78
78
  {({ onClick, href }) => {
79
79
  return (
@@ -28,6 +28,10 @@
28
28
  outline: none;
29
29
  }
30
30
 
31
+ [role=banner] .coz-nav-settings-item {
32
+ display: flex;
33
+ }
34
+
31
35
  [role=banner] .coz-nav-settings-item .coz-nav-settings-item-btn[role=menuitem] > span > span {
32
36
  margin-right: auto;
33
37
  }
@@ -94,7 +94,8 @@ export var AppItem = /*#__PURE__*/function (_React$Component) {
94
94
  return /*#__PURE__*/React.createElement(AppLinker, {
95
95
  onAppSwitch: this.onAppSwitch,
96
96
  slug: app.slug,
97
- href: this.buildAppUrl(app.href) || ''
97
+ href: this.buildAppUrl(app.href) || '',
98
+ app: app
98
99
  }, function (_ref) {
99
100
  var onClick = _ref.onClick,
100
101
  href = _ref.href;
@@ -663,6 +663,10 @@
663
663
  outline: none;
664
664
  }
665
665
 
666
+ [role=banner] .coz-nav-settings-item {
667
+ display: flex;
668
+ }
669
+
666
670
  [role=banner] .coz-nav-settings-item .coz-nav-settings-item-btn[role=menuitem] > span > span {
667
671
  margin-right: auto;
668
672
  }
@@ -28,6 +28,10 @@
28
28
  outline: none;
29
29
  }
30
30
 
31
+ [role=banner] .coz-nav-settings-item {
32
+ display: flex;
33
+ }
34
+
31
35
  [role=banner] .coz-nav-settings-item .coz-nav-settings-item-btn[role=menuitem] > span > span {
32
36
  margin-right: auto;
33
37
  }