@dhis2-ui/header-bar 8.13.2 → 8.13.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/build/cjs/apps.js +8 -7
- package/build/cjs/header-bar.js +5 -5
- package/build/cjs/locales/index.js +24 -20
- package/build/cjs/locales/si/translations.json +22 -0
- package/build/cjs/logo.js +4 -4
- package/build/cjs/notification-icon.js +5 -5
- package/build/cjs/notifications.js +3 -3
- package/build/cjs/online-status.styles.js +2 -2
- package/build/cjs/profile-menu/profile-menu.js +3 -3
- package/build/cjs/profile.js +4 -4
- package/build/es/apps.js +9 -8
- package/build/es/header-bar.js +5 -5
- package/build/es/locales/index.js +2 -0
- package/build/es/locales/si/translations.json +22 -0
- package/build/es/logo.js +4 -4
- package/build/es/notification-icon.js +5 -5
- package/build/es/notifications.js +3 -3
- package/build/es/online-status.styles.js +2 -2
- package/build/es/profile-menu/profile-menu.js +3 -3
- package/build/es/profile.js +4 -4
- package/package.json +15 -15
package/build/cjs/apps.js
CHANGED
|
@@ -149,7 +149,7 @@ const AppMenu = _ref6 => {
|
|
|
149
149
|
} = _ref6;
|
|
150
150
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
151
151
|
"data-test": "headerbar-apps-menu",
|
|
152
|
-
className: "jsx-
|
|
152
|
+
className: "jsx-105953480"
|
|
153
153
|
}, /*#__PURE__*/_react.default.createElement(_card.Card, null, /*#__PURE__*/_react.default.createElement(Search, {
|
|
154
154
|
value: filter,
|
|
155
155
|
onChange: onFilterChange
|
|
@@ -157,8 +157,8 @@ const AppMenu = _ref6 => {
|
|
|
157
157
|
apps: apps,
|
|
158
158
|
filter: filter
|
|
159
159
|
})), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
160
|
-
id: "
|
|
161
|
-
}, ["div.jsx-
|
|
160
|
+
id: "105953480"
|
|
161
|
+
}, ["div.jsx-105953480{z-index:10000;position:absolute;right:-4px;}"]));
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
AppMenu.propTypes = {
|
|
@@ -193,11 +193,11 @@ const Apps = _ref7 => {
|
|
|
193
193
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
194
194
|
ref: containerEl,
|
|
195
195
|
"data-test": "headerbar-apps",
|
|
196
|
-
className: "
|
|
196
|
+
className: _style.default.dynamic([["2891838412", [_uiConstants.spacers.dp4, _uiConstants.spacers.dp12]]])
|
|
197
197
|
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
198
198
|
onClick: handleVisibilityToggle,
|
|
199
199
|
"data-test": "headerbar-apps-icon",
|
|
200
|
-
className: "
|
|
200
|
+
className: _style.default.dynamic([["2891838412", [_uiConstants.spacers.dp4, _uiConstants.spacers.dp12]]])
|
|
201
201
|
}, /*#__PURE__*/_react.default.createElement(_uiIcons.IconApps24, {
|
|
202
202
|
color: _uiConstants.colors.white
|
|
203
203
|
})), show ? /*#__PURE__*/_react.default.createElement(AppMenu, {
|
|
@@ -205,8 +205,9 @@ const Apps = _ref7 => {
|
|
|
205
205
|
filter: filter,
|
|
206
206
|
onFilterChange: handleFilterChange
|
|
207
207
|
}) : null, /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
208
|
-
id: "
|
|
209
|
-
|
|
208
|
+
id: "2891838412",
|
|
209
|
+
dynamic: [_uiConstants.spacers.dp4, _uiConstants.spacers.dp12]
|
|
210
|
+
}, ["button.__jsx-style-dynamic-selector{display:block;background:transparent;padding:".concat(_uiConstants.spacers.dp4, " ").concat(_uiConstants.spacers.dp12, " 0;border:0;cursor:pointer;height:100%;}"), "button.__jsx-style-dynamic-selector:focus{outline:2px solid white;outline-offset:-2px;}", "button.__jsx-style-dynamic-selector:focus.__jsx-style-dynamic-selector:not(:focus-visible){outline:none;}", "button.__jsx-style-dynamic-selector:hover{background:#1a557f;}", "button.__jsx-style-dynamic-selector:active{background:#104067;}", "div.__jsx-style-dynamic-selector{position:relative;height:100%;}"]));
|
|
210
211
|
};
|
|
211
212
|
|
|
212
213
|
Apps.propTypes = {
|
package/build/cjs/header-bar.js
CHANGED
|
@@ -102,14 +102,14 @@ const HeaderBar = _ref => {
|
|
|
102
102
|
updateAvailable: updateAvailable,
|
|
103
103
|
onApplyAvailableUpdate: onApplyAvailableUpdate
|
|
104
104
|
}, /*#__PURE__*/_react.default.createElement("header", {
|
|
105
|
-
className: _style.default.dynamic([["
|
|
105
|
+
className: _style.default.dynamic([["2211918310", [_uiConstants.colors.white]]]) + " " + (className || "")
|
|
106
106
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
107
|
-
className: _style.default.dynamic([["
|
|
107
|
+
className: _style.default.dynamic([["2211918310", [_uiConstants.colors.white]]]) + " " + "main"
|
|
108
108
|
}, !loading && !error && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_logo.Logo, null), /*#__PURE__*/_react.default.createElement(_title.Title, {
|
|
109
109
|
app: appName || configAppName,
|
|
110
110
|
instance: data.title.applicationTitle
|
|
111
111
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
112
|
-
className: _style.default.dynamic([["
|
|
112
|
+
className: _style.default.dynamic([["2211918310", [_uiConstants.colors.white]]]) + " " + "right-control-spacer"
|
|
113
113
|
}), pwaEnabled && /*#__PURE__*/_react.default.createElement(_onlineStatus.OnlineStatus, null), /*#__PURE__*/_react.default.createElement(_notifications.Notifications, {
|
|
114
114
|
interpretations: data.notifications.unreadInterpretations,
|
|
115
115
|
messages: data.notifications.unreadMessageConversations,
|
|
@@ -124,9 +124,9 @@ const HeaderBar = _ref => {
|
|
|
124
124
|
}))), pwaEnabled && !loading && !error && /*#__PURE__*/_react.default.createElement(_onlineStatus.OnlineStatus, {
|
|
125
125
|
dense: true
|
|
126
126
|
}), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
127
|
-
id: "
|
|
127
|
+
id: "2211918310",
|
|
128
128
|
dynamic: [_uiConstants.colors.white]
|
|
129
|
-
}, [".main.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background-color:#2c6693;
|
|
129
|
+
}, [".main.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background-color:#2c6693;color:".concat(_uiConstants.colors.white, ";height:48px;}"), ".right-control-spacer.__jsx-style-dynamic-selector{margin-left:auto;}"])));
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
exports.HeaderBar = HeaderBar;
|
|
@@ -53,25 +53,27 @@ var _translations22 = _interopRequireDefault(require("./ro/translations.json"));
|
|
|
53
53
|
|
|
54
54
|
var _translations23 = _interopRequireDefault(require("./ru/translations.json"));
|
|
55
55
|
|
|
56
|
-
var _translations24 = _interopRequireDefault(require("./
|
|
56
|
+
var _translations24 = _interopRequireDefault(require("./si/translations.json"));
|
|
57
57
|
|
|
58
|
-
var _translations25 = _interopRequireDefault(require("./
|
|
58
|
+
var _translations25 = _interopRequireDefault(require("./sv/translations.json"));
|
|
59
59
|
|
|
60
|
-
var _translations26 = _interopRequireDefault(require("./
|
|
60
|
+
var _translations26 = _interopRequireDefault(require("./tet/translations.json"));
|
|
61
61
|
|
|
62
|
-
var _translations27 = _interopRequireDefault(require("./
|
|
62
|
+
var _translations27 = _interopRequireDefault(require("./tg/translations.json"));
|
|
63
63
|
|
|
64
|
-
var _translations28 = _interopRequireDefault(require("./
|
|
64
|
+
var _translations28 = _interopRequireDefault(require("./uk/translations.json"));
|
|
65
65
|
|
|
66
|
-
var _translations29 = _interopRequireDefault(require("./
|
|
66
|
+
var _translations29 = _interopRequireDefault(require("./ur/translations.json"));
|
|
67
67
|
|
|
68
|
-
var _translations30 = _interopRequireDefault(require("./
|
|
68
|
+
var _translations30 = _interopRequireDefault(require("./uz/translations.json"));
|
|
69
69
|
|
|
70
|
-
var _translations31 = _interopRequireDefault(require("./
|
|
70
|
+
var _translations31 = _interopRequireDefault(require("./uz_Latn/translations.json"));
|
|
71
71
|
|
|
72
|
-
var _translations32 = _interopRequireDefault(require("./
|
|
72
|
+
var _translations32 = _interopRequireDefault(require("./vi/translations.json"));
|
|
73
73
|
|
|
74
|
-
var _translations33 = _interopRequireDefault(require("./
|
|
74
|
+
var _translations33 = _interopRequireDefault(require("./zh/translations.json"));
|
|
75
|
+
|
|
76
|
+
var _translations34 = _interopRequireDefault(require("./zh_CN/translations.json"));
|
|
75
77
|
|
|
76
78
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
77
79
|
|
|
@@ -131,25 +133,27 @@ _d2I18n.default.addResources('ro', namespace, _translations22.default);
|
|
|
131
133
|
|
|
132
134
|
_d2I18n.default.addResources('ru', namespace, _translations23.default);
|
|
133
135
|
|
|
134
|
-
_d2I18n.default.addResources('
|
|
136
|
+
_d2I18n.default.addResources('si', namespace, _translations24.default);
|
|
137
|
+
|
|
138
|
+
_d2I18n.default.addResources('sv', namespace, _translations25.default);
|
|
135
139
|
|
|
136
|
-
_d2I18n.default.addResources('tet', namespace,
|
|
140
|
+
_d2I18n.default.addResources('tet', namespace, _translations26.default);
|
|
137
141
|
|
|
138
|
-
_d2I18n.default.addResources('tg', namespace,
|
|
142
|
+
_d2I18n.default.addResources('tg', namespace, _translations27.default);
|
|
139
143
|
|
|
140
|
-
_d2I18n.default.addResources('uk', namespace,
|
|
144
|
+
_d2I18n.default.addResources('uk', namespace, _translations28.default);
|
|
141
145
|
|
|
142
|
-
_d2I18n.default.addResources('ur', namespace,
|
|
146
|
+
_d2I18n.default.addResources('ur', namespace, _translations29.default);
|
|
143
147
|
|
|
144
|
-
_d2I18n.default.addResources('uz', namespace,
|
|
148
|
+
_d2I18n.default.addResources('uz', namespace, _translations30.default);
|
|
145
149
|
|
|
146
|
-
_d2I18n.default.addResources('uz_Latn', namespace,
|
|
150
|
+
_d2I18n.default.addResources('uz_Latn', namespace, _translations31.default);
|
|
147
151
|
|
|
148
|
-
_d2I18n.default.addResources('vi', namespace,
|
|
152
|
+
_d2I18n.default.addResources('vi', namespace, _translations32.default);
|
|
149
153
|
|
|
150
|
-
_d2I18n.default.addResources('zh', namespace,
|
|
154
|
+
_d2I18n.default.addResources('zh', namespace, _translations33.default);
|
|
151
155
|
|
|
152
|
-
_d2I18n.default.addResources('zh_CN', namespace,
|
|
156
|
+
_d2I18n.default.addResources('zh_CN', namespace, _translations34.default);
|
|
153
157
|
|
|
154
158
|
var _default = _d2I18n.default;
|
|
155
159
|
exports.default = _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Search apps": "",
|
|
3
|
+
"DHIS2 {{dhis2Version}}": "",
|
|
4
|
+
"DHIS2 version unknown": "",
|
|
5
|
+
"{{appName}} version unknown": "",
|
|
6
|
+
"App {{appVersion}}": "",
|
|
7
|
+
"App version unknown": "",
|
|
8
|
+
"Debug info": "",
|
|
9
|
+
"Close": "වසන්න",
|
|
10
|
+
"Copy debug info": "",
|
|
11
|
+
"Online": "",
|
|
12
|
+
"Offline": "",
|
|
13
|
+
"Edit profile": "",
|
|
14
|
+
"Settings": "",
|
|
15
|
+
"Account": "",
|
|
16
|
+
"Help": "",
|
|
17
|
+
"About DHIS2": "",
|
|
18
|
+
"Logout": "",
|
|
19
|
+
"New {{appName}} version available": "",
|
|
20
|
+
"New app version available": "",
|
|
21
|
+
"Click to reload": ""
|
|
22
|
+
}
|
package/build/cjs/logo.js
CHANGED
|
@@ -21,13 +21,13 @@ const Logo = () => {
|
|
|
21
21
|
} = (0, _appRuntime.useConfig)();
|
|
22
22
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
23
23
|
"data-test": "headerbar-logo",
|
|
24
|
-
className: "jsx-
|
|
24
|
+
className: "jsx-2077637423"
|
|
25
25
|
}, /*#__PURE__*/_react.default.createElement("a", {
|
|
26
26
|
href: baseUrl,
|
|
27
|
-
className: "jsx-
|
|
27
|
+
className: "jsx-2077637423"
|
|
28
28
|
}, /*#__PURE__*/_react.default.createElement(_logoImage.LogoImage, null)), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
29
|
-
id: "
|
|
30
|
-
}, ["div.jsx-
|
|
29
|
+
id: "2077637423"
|
|
30
|
+
}, ["div.jsx-2077637423{box-sizing:border-box;min-width:49px;max-height:48px;margin:0 12px 0 0;border-right:1px solid rgba(32,32,32,0.15);}", "div.jsx-2077637423:hover{background-color:#1a557f;}", "a.jsx-2077637423,a.jsx-2077637423:hover,a.jsx-2077637423:focus,a.jsx-2077637423:active,a.jsx-2077637423:visited{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", "a.jsx-2077637423:focus{outline:2px solid white;outline-offset:-2px;}", "a.jsx-2077637423:focus.jsx-2077637423:not(:focus-visible){outline:none;}"]));
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
exports.Logo = Logo;
|
|
@@ -39,14 +39,14 @@ const NotificationIcon = _ref => {
|
|
|
39
39
|
return /*#__PURE__*/_react.default.createElement("a", {
|
|
40
40
|
href: href,
|
|
41
41
|
"data-test": dataTestId,
|
|
42
|
-
className: _style.default.dynamic([["
|
|
42
|
+
className: _style.default.dynamic([["2752984221", [_uiConstants.spacers.dp12, _uiConstants.spacers.dp12, _uiConstants.theme.secondary500, _uiConstants.colors.white, _uiConstants.spacers.dp4]]]) + " " + (kind || "")
|
|
43
43
|
}, icon(kind), count > 0 && /*#__PURE__*/_react.default.createElement("span", {
|
|
44
44
|
"data-test": "".concat(dataTestId, "-count"),
|
|
45
|
-
className: _style.default.dynamic([["
|
|
45
|
+
className: _style.default.dynamic([["2752984221", [_uiConstants.spacers.dp12, _uiConstants.spacers.dp12, _uiConstants.theme.secondary500, _uiConstants.colors.white, _uiConstants.spacers.dp4]]])
|
|
46
46
|
}, count), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
47
|
-
id: "
|
|
48
|
-
dynamic: [_uiConstants.spacers.dp12, _uiConstants.theme.secondary500, _uiConstants.colors.white, _uiConstants.spacers.dp4]
|
|
49
|
-
}, ["a.__jsx-style-dynamic-selector{position:relative;margin:
|
|
47
|
+
id: "2752984221",
|
|
48
|
+
dynamic: [_uiConstants.spacers.dp12, _uiConstants.spacers.dp12, _uiConstants.theme.secondary500, _uiConstants.colors.white, _uiConstants.spacers.dp4]
|
|
49
|
+
}, ["a.__jsx-style-dynamic-selector{position:relative;margin:0;cursor:pointer;padding:0 ".concat(_uiConstants.spacers.dp12, ";height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}"), "a.__jsx-style-dynamic-selector:focus{outline:2px solid white;outline-offset:-2px;}", "a.__jsx-style-dynamic-selector:focus.__jsx-style-dynamic-selector:not(:focus-visible){outline:none;}", "a.__jsx-style-dynamic-selector:hover{background:#1a557f;}", "a.__jsx-style-dynamic-selector:active{background:#104067;}", "span.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:1;position:absolute;top:3px;right:2px;min-width:18px;min-height:18px;border-radius:".concat(_uiConstants.spacers.dp12, ";box-shadow:0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);background-color:").concat(_uiConstants.theme.secondary500, ";color:").concat(_uiConstants.colors.white, ";font-size:13px;font-weight:600;line-height:15px;text-align:center;cursor:inherit;padding:0 ").concat(_uiConstants.spacers.dp4, ";}")]));
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
exports.NotificationIcon = NotificationIcon;
|
|
@@ -38,7 +38,7 @@ const Notifications = _ref => {
|
|
|
38
38
|
} = (0, _appRuntime.useConfig)();
|
|
39
39
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
40
40
|
"data-test": "headerbar-notifications",
|
|
41
|
-
className: "jsx-
|
|
41
|
+
className: "jsx-55705730"
|
|
42
42
|
}, hasAuthority(userAuthorities, 'M_dhis-web-interpretation') && /*#__PURE__*/_react.default.createElement(_notificationIcon.NotificationIcon, {
|
|
43
43
|
count: interpretations,
|
|
44
44
|
href: (0, _joinPath.joinPath)(baseUrl, 'dhis-web-interpretation'),
|
|
@@ -51,8 +51,8 @@ const Notifications = _ref => {
|
|
|
51
51
|
kind: "interpretation",
|
|
52
52
|
dataTestId: "headerbar-messages"
|
|
53
53
|
}), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
54
|
-
id: "
|
|
55
|
-
}, ["div.jsx-
|
|
54
|
+
id: "55705730"
|
|
55
|
+
}, ["div.jsx-55705730{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;}"]));
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
exports.Notifications = Notifications;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uiConstants = require("@dhis2/ui-constants");
|
|
9
9
|
|
|
10
|
-
const _defaultExport = [".container.jsx-
|
|
11
|
-
_defaultExport.__hash = "
|
|
10
|
+
const _defaultExport = [".container.jsx-3029616205{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#104167;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;color:".concat(_uiConstants.colors.grey100, ";}"), ".container.badge.jsx-3029616205{margin-right:".concat(_uiConstants.spacers.dp8, ";padding:").concat(_uiConstants.spacers.dp8, ";border-radius:5px;font-size:14px;}"), ".container.bar.jsx-3029616205{display:none;padding:0px ".concat(_uiConstants.spacers.dp4, ";min-height:24px;font-size:13px;}"), "@media (max-width:480px){.container.badge.jsx-3029616205{display:none;}.container.bar.jsx-3029616205{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}}", ".unselectable.jsx-3029616205{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".info.jsx-3029616205{margin-right:".concat(_uiConstants.spacers.dp16, ";}"), ".info-dense.jsx-3029616205{margin-left:".concat(_uiConstants.spacers.dp12, ";font-size:12px;}"), ".icon.jsx-3029616205{width:8px;min-width:8px;height:8px;border-radius:8px;margin-right:".concat(_uiConstants.spacers.dp4, ";}"), ".icon.online.jsx-3029616205{background-color:".concat(_uiConstants.colors.teal400, ";}"), ".icon.offline.jsx-3029616205{background-color:transparent;border:1px solid ".concat(_uiConstants.colors.yellow300, ";}"), ".icon.reconnecting.jsx-3029616205{background:".concat(_uiConstants.colors.grey300, ";-webkit-animation:fadeinout 2s linear infinite;-webkit-animation:fadeinout-jsx-3029616205 2s linear infinite;animation:fadeinout-jsx-3029616205 2s linear infinite;opacity:0;}"), "@-webkit-keyframes fadeinout{50%.jsx-3029616205{opacity:1;}}", "@-webkit-keyframes fadeinout-jsx-3029616205{50%{opacity:1;}}", "@keyframes fadeinout-jsx-3029616205{50%{opacity:1;}}", ".label.jsx-3029616205{-webkit-letter-spacing:0.5px;-moz-letter-spacing:0.5px;-ms-letter-spacing:0.5px;letter-spacing:0.5px;}"];
|
|
11
|
+
_defaultExport.__hash = "3029616205";
|
|
12
12
|
var _default = _defaultExport;
|
|
13
13
|
exports.default = _default;
|
|
@@ -145,10 +145,10 @@ const ProfileMenu = _ref2 => {
|
|
|
145
145
|
} = _ref2;
|
|
146
146
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
147
147
|
"data-test": "headerbar-profile-menu",
|
|
148
|
-
className: "jsx-
|
|
148
|
+
className: "jsx-2907613216"
|
|
149
149
|
}, /*#__PURE__*/_react.default.createElement(ProfileContents, props), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
150
|
-
id: "
|
|
151
|
-
}, ["div.jsx-
|
|
150
|
+
id: "2907613216"
|
|
151
|
+
}, ["div.jsx-2907613216{z-index:10000;position:absolute;right:4px;width:320px;}"]));
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
exports.ProfileMenu = ProfileMenu;
|
package/build/cjs/profile.js
CHANGED
|
@@ -41,10 +41,10 @@ const Profile = _ref => {
|
|
|
41
41
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
42
42
|
ref: containerRef,
|
|
43
43
|
"data-test": "headerbar-profile",
|
|
44
|
-
className: "jsx-
|
|
44
|
+
className: "jsx-3442481507" + " " + "headerbar-profile"
|
|
45
45
|
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
46
46
|
onClick: toggleProfileMenu,
|
|
47
|
-
className: "jsx-
|
|
47
|
+
className: "jsx-3442481507" + " " + "headerbar-profile-btn"
|
|
48
48
|
}, /*#__PURE__*/_react.default.createElement(_userAvatar.UserAvatar, {
|
|
49
49
|
avatarId: avatarId,
|
|
50
50
|
name: name,
|
|
@@ -64,8 +64,8 @@ const Profile = _ref => {
|
|
|
64
64
|
setShowDebugInfoModal(false);
|
|
65
65
|
}
|
|
66
66
|
}), /*#__PURE__*/_react.default.createElement(_style.default, {
|
|
67
|
-
id: "
|
|
68
|
-
}, [".headerbar-profile.jsx-
|
|
67
|
+
id: "3442481507"
|
|
68
|
+
}, [".headerbar-profile.jsx-3442481507{position:relative;height:100%;}", ".headerbar-profile-btn.jsx-3442481507{background:transparent;padding:6px;border:0;cursor:pointer;}", ".headerbar-profile-btn.jsx-3442481507:focus{outline:2px solid white;outline-offset:-2px;}", ".headerbar-profile-btn.jsx-3442481507:focus.jsx-3442481507:not(:focus-visible){outline:none;}", ".headerbar-profile-btn.jsx-3442481507:hover{background:#1a557f;}", ".headerbar-profile-btn.jsx-3442481507:active{background:#104067;}"]));
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
Profile.propTypes = {
|
package/build/es/apps.js
CHANGED
|
@@ -2,7 +2,7 @@ import _JSXStyle from "styled-jsx/style";
|
|
|
2
2
|
import { Card } from '@dhis2-ui/card';
|
|
3
3
|
import { InputField } from '@dhis2-ui/input';
|
|
4
4
|
import { useConfig } from '@dhis2/app-runtime';
|
|
5
|
-
import { colors, theme } from '@dhis2/ui-constants';
|
|
5
|
+
import { colors, spacers, theme } from '@dhis2/ui-constants';
|
|
6
6
|
import { IconApps24, IconSettings24 } from '@dhis2/ui-icons';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import React, { useState, useEffect, useCallback, useRef } from 'react';
|
|
@@ -127,7 +127,7 @@ const AppMenu = _ref6 => {
|
|
|
127
127
|
} = _ref6;
|
|
128
128
|
return /*#__PURE__*/React.createElement("div", {
|
|
129
129
|
"data-test": "headerbar-apps-menu",
|
|
130
|
-
className: "jsx-
|
|
130
|
+
className: "jsx-105953480"
|
|
131
131
|
}, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(Search, {
|
|
132
132
|
value: filter,
|
|
133
133
|
onChange: onFilterChange
|
|
@@ -135,8 +135,8 @@ const AppMenu = _ref6 => {
|
|
|
135
135
|
apps: apps,
|
|
136
136
|
filter: filter
|
|
137
137
|
})), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
138
|
-
id: "
|
|
139
|
-
}, ["div.jsx-
|
|
138
|
+
id: "105953480"
|
|
139
|
+
}, ["div.jsx-105953480{z-index:10000;position:absolute;right:-4px;}"]));
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
AppMenu.propTypes = {
|
|
@@ -171,11 +171,11 @@ const Apps = _ref7 => {
|
|
|
171
171
|
return /*#__PURE__*/React.createElement("div", {
|
|
172
172
|
ref: containerEl,
|
|
173
173
|
"data-test": "headerbar-apps",
|
|
174
|
-
className: "
|
|
174
|
+
className: _JSXStyle.dynamic([["2891838412", [spacers.dp4, spacers.dp12]]])
|
|
175
175
|
}, /*#__PURE__*/React.createElement("button", {
|
|
176
176
|
onClick: handleVisibilityToggle,
|
|
177
177
|
"data-test": "headerbar-apps-icon",
|
|
178
|
-
className: "
|
|
178
|
+
className: _JSXStyle.dynamic([["2891838412", [spacers.dp4, spacers.dp12]]])
|
|
179
179
|
}, /*#__PURE__*/React.createElement(IconApps24, {
|
|
180
180
|
color: colors.white
|
|
181
181
|
})), show ? /*#__PURE__*/React.createElement(AppMenu, {
|
|
@@ -183,8 +183,9 @@ const Apps = _ref7 => {
|
|
|
183
183
|
filter: filter,
|
|
184
184
|
onFilterChange: handleFilterChange
|
|
185
185
|
}) : null, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
186
|
-
id: "
|
|
187
|
-
|
|
186
|
+
id: "2891838412",
|
|
187
|
+
dynamic: [spacers.dp4, spacers.dp12]
|
|
188
|
+
}, ["button.__jsx-style-dynamic-selector{display:block;background:transparent;padding:".concat(spacers.dp4, " ").concat(spacers.dp12, " 0;border:0;cursor:pointer;height:100%;}"), "button.__jsx-style-dynamic-selector:focus{outline:2px solid white;outline-offset:-2px;}", "button.__jsx-style-dynamic-selector:focus.__jsx-style-dynamic-selector:not(:focus-visible){outline:none;}", "button.__jsx-style-dynamic-selector:hover{background:#1a557f;}", "button.__jsx-style-dynamic-selector:active{background:#104067;}", "div.__jsx-style-dynamic-selector{position:relative;height:100%;}"]));
|
|
188
189
|
};
|
|
189
190
|
|
|
190
191
|
Apps.propTypes = {
|
package/build/es/header-bar.js
CHANGED
|
@@ -72,14 +72,14 @@ export const HeaderBar = _ref => {
|
|
|
72
72
|
updateAvailable: updateAvailable,
|
|
73
73
|
onApplyAvailableUpdate: onApplyAvailableUpdate
|
|
74
74
|
}, /*#__PURE__*/React.createElement("header", {
|
|
75
|
-
className: _JSXStyle.dynamic([["
|
|
75
|
+
className: _JSXStyle.dynamic([["2211918310", [colors.white]]]) + " " + (className || "")
|
|
76
76
|
}, /*#__PURE__*/React.createElement("div", {
|
|
77
|
-
className: _JSXStyle.dynamic([["
|
|
77
|
+
className: _JSXStyle.dynamic([["2211918310", [colors.white]]]) + " " + "main"
|
|
78
78
|
}, !loading && !error && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Logo, null), /*#__PURE__*/React.createElement(Title, {
|
|
79
79
|
app: appName || configAppName,
|
|
80
80
|
instance: data.title.applicationTitle
|
|
81
81
|
}), /*#__PURE__*/React.createElement("div", {
|
|
82
|
-
className: _JSXStyle.dynamic([["
|
|
82
|
+
className: _JSXStyle.dynamic([["2211918310", [colors.white]]]) + " " + "right-control-spacer"
|
|
83
83
|
}), pwaEnabled && /*#__PURE__*/React.createElement(OnlineStatus, null), /*#__PURE__*/React.createElement(Notifications, {
|
|
84
84
|
interpretations: data.notifications.unreadInterpretations,
|
|
85
85
|
messages: data.notifications.unreadMessageConversations,
|
|
@@ -94,9 +94,9 @@ export const HeaderBar = _ref => {
|
|
|
94
94
|
}))), pwaEnabled && !loading && !error && /*#__PURE__*/React.createElement(OnlineStatus, {
|
|
95
95
|
dense: true
|
|
96
96
|
}), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
97
|
-
id: "
|
|
97
|
+
id: "2211918310",
|
|
98
98
|
dynamic: [colors.white]
|
|
99
|
-
}, [".main.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background-color:#2c6693;
|
|
99
|
+
}, [".main.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background-color:#2c6693;color:".concat(colors.white, ";height:48px;}"), ".right-control-spacer.__jsx-style-dynamic-selector{margin-left:auto;}"])));
|
|
100
100
|
};
|
|
101
101
|
HeaderBar.propTypes = {
|
|
102
102
|
appName: PropTypes.string,
|
|
@@ -30,6 +30,7 @@ import ptTranslations from './pt/translations.json';
|
|
|
30
30
|
import pt_BRTranslations from './pt_BR/translations.json';
|
|
31
31
|
import roTranslations from './ro/translations.json';
|
|
32
32
|
import ruTranslations from './ru/translations.json';
|
|
33
|
+
import siTranslations from './si/translations.json';
|
|
33
34
|
import svTranslations from './sv/translations.json';
|
|
34
35
|
import tetTranslations from './tet/translations.json';
|
|
35
36
|
import tgTranslations from './tg/translations.json';
|
|
@@ -64,6 +65,7 @@ i18n.addResources('pt', namespace, ptTranslations);
|
|
|
64
65
|
i18n.addResources('pt_BR', namespace, pt_BRTranslations);
|
|
65
66
|
i18n.addResources('ro', namespace, roTranslations);
|
|
66
67
|
i18n.addResources('ru', namespace, ruTranslations);
|
|
68
|
+
i18n.addResources('si', namespace, siTranslations);
|
|
67
69
|
i18n.addResources('sv', namespace, svTranslations);
|
|
68
70
|
i18n.addResources('tet', namespace, tetTranslations);
|
|
69
71
|
i18n.addResources('tg', namespace, tgTranslations);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Search apps": "",
|
|
3
|
+
"DHIS2 {{dhis2Version}}": "",
|
|
4
|
+
"DHIS2 version unknown": "",
|
|
5
|
+
"{{appName}} version unknown": "",
|
|
6
|
+
"App {{appVersion}}": "",
|
|
7
|
+
"App version unknown": "",
|
|
8
|
+
"Debug info": "",
|
|
9
|
+
"Close": "වසන්න",
|
|
10
|
+
"Copy debug info": "",
|
|
11
|
+
"Online": "",
|
|
12
|
+
"Offline": "",
|
|
13
|
+
"Edit profile": "",
|
|
14
|
+
"Settings": "",
|
|
15
|
+
"Account": "",
|
|
16
|
+
"Help": "",
|
|
17
|
+
"About DHIS2": "",
|
|
18
|
+
"Logout": "",
|
|
19
|
+
"New {{appName}} version available": "",
|
|
20
|
+
"New app version available": "",
|
|
21
|
+
"Click to reload": ""
|
|
22
|
+
}
|
package/build/es/logo.js
CHANGED
|
@@ -8,11 +8,11 @@ export const Logo = () => {
|
|
|
8
8
|
} = useConfig();
|
|
9
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
10
10
|
"data-test": "headerbar-logo",
|
|
11
|
-
className: "jsx-
|
|
11
|
+
className: "jsx-2077637423"
|
|
12
12
|
}, /*#__PURE__*/React.createElement("a", {
|
|
13
13
|
href: baseUrl,
|
|
14
|
-
className: "jsx-
|
|
14
|
+
className: "jsx-2077637423"
|
|
15
15
|
}, /*#__PURE__*/React.createElement(LogoImage, null)), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
16
|
-
id: "
|
|
17
|
-
}, ["div.jsx-
|
|
16
|
+
id: "2077637423"
|
|
17
|
+
}, ["div.jsx-2077637423{box-sizing:border-box;min-width:49px;max-height:48px;margin:0 12px 0 0;border-right:1px solid rgba(32,32,32,0.15);}", "div.jsx-2077637423:hover{background-color:#1a557f;}", "a.jsx-2077637423,a.jsx-2077637423:hover,a.jsx-2077637423:focus,a.jsx-2077637423:active,a.jsx-2077637423:visited{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", "a.jsx-2077637423:focus{outline:2px solid white;outline-offset:-2px;}", "a.jsx-2077637423:focus.jsx-2077637423:not(:focus-visible){outline:none;}"]));
|
|
18
18
|
};
|
|
@@ -26,14 +26,14 @@ export const NotificationIcon = _ref => {
|
|
|
26
26
|
return /*#__PURE__*/React.createElement("a", {
|
|
27
27
|
href: href,
|
|
28
28
|
"data-test": dataTestId,
|
|
29
|
-
className: _JSXStyle.dynamic([["
|
|
29
|
+
className: _JSXStyle.dynamic([["2752984221", [spacers.dp12, spacers.dp12, theme.secondary500, colors.white, spacers.dp4]]]) + " " + (kind || "")
|
|
30
30
|
}, icon(kind), count > 0 && /*#__PURE__*/React.createElement("span", {
|
|
31
31
|
"data-test": "".concat(dataTestId, "-count"),
|
|
32
|
-
className: _JSXStyle.dynamic([["
|
|
32
|
+
className: _JSXStyle.dynamic([["2752984221", [spacers.dp12, spacers.dp12, theme.secondary500, colors.white, spacers.dp4]]])
|
|
33
33
|
}, count), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
34
|
-
id: "
|
|
35
|
-
dynamic: [spacers.dp12, theme.secondary500, colors.white, spacers.dp4]
|
|
36
|
-
}, ["a.__jsx-style-dynamic-selector{position:relative;margin:
|
|
34
|
+
id: "2752984221",
|
|
35
|
+
dynamic: [spacers.dp12, spacers.dp12, theme.secondary500, colors.white, spacers.dp4]
|
|
36
|
+
}, ["a.__jsx-style-dynamic-selector{position:relative;margin:0;cursor:pointer;padding:0 ".concat(spacers.dp12, ";height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}"), "a.__jsx-style-dynamic-selector:focus{outline:2px solid white;outline-offset:-2px;}", "a.__jsx-style-dynamic-selector:focus.__jsx-style-dynamic-selector:not(:focus-visible){outline:none;}", "a.__jsx-style-dynamic-selector:hover{background:#1a557f;}", "a.__jsx-style-dynamic-selector:active{background:#104067;}", "span.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:1;position:absolute;top:3px;right:2px;min-width:18px;min-height:18px;border-radius:".concat(spacers.dp12, ";box-shadow:0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);background-color:").concat(theme.secondary500, ";color:").concat(colors.white, ";font-size:13px;font-weight:600;line-height:15px;text-align:center;cursor:inherit;padding:0 ").concat(spacers.dp4, ";}")]));
|
|
37
37
|
};
|
|
38
38
|
NotificationIcon.defaultProps = {
|
|
39
39
|
count: 0
|
|
@@ -24,7 +24,7 @@ export const Notifications = _ref => {
|
|
|
24
24
|
} = useConfig();
|
|
25
25
|
return /*#__PURE__*/React.createElement("div", {
|
|
26
26
|
"data-test": "headerbar-notifications",
|
|
27
|
-
className: "jsx-
|
|
27
|
+
className: "jsx-55705730"
|
|
28
28
|
}, hasAuthority(userAuthorities, 'M_dhis-web-interpretation') && /*#__PURE__*/React.createElement(NotificationIcon, {
|
|
29
29
|
count: interpretations,
|
|
30
30
|
href: joinPath(baseUrl, 'dhis-web-interpretation'),
|
|
@@ -37,8 +37,8 @@ export const Notifications = _ref => {
|
|
|
37
37
|
kind: "interpretation",
|
|
38
38
|
dataTestId: "headerbar-messages"
|
|
39
39
|
}), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
40
|
-
id: "
|
|
41
|
-
}, ["div.jsx-
|
|
40
|
+
id: "55705730"
|
|
41
|
+
}, ["div.jsx-55705730{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;}"]));
|
|
42
42
|
};
|
|
43
43
|
Notifications.propTypes = {
|
|
44
44
|
interpretations: PropTypes.number,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { colors, spacers } from '@dhis2/ui-constants';
|
|
2
|
-
const _defaultExport = [".container.jsx-
|
|
3
|
-
_defaultExport.__hash = "
|
|
2
|
+
const _defaultExport = [".container.jsx-3029616205{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#104167;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;color:".concat(colors.grey100, ";}"), ".container.badge.jsx-3029616205{margin-right:".concat(spacers.dp8, ";padding:").concat(spacers.dp8, ";border-radius:5px;font-size:14px;}"), ".container.bar.jsx-3029616205{display:none;padding:0px ".concat(spacers.dp4, ";min-height:24px;font-size:13px;}"), "@media (max-width:480px){.container.badge.jsx-3029616205{display:none;}.container.bar.jsx-3029616205{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}}", ".unselectable.jsx-3029616205{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".info.jsx-3029616205{margin-right:".concat(spacers.dp16, ";}"), ".info-dense.jsx-3029616205{margin-left:".concat(spacers.dp12, ";font-size:12px;}"), ".icon.jsx-3029616205{width:8px;min-width:8px;height:8px;border-radius:8px;margin-right:".concat(spacers.dp4, ";}"), ".icon.online.jsx-3029616205{background-color:".concat(colors.teal400, ";}"), ".icon.offline.jsx-3029616205{background-color:transparent;border:1px solid ".concat(colors.yellow300, ";}"), ".icon.reconnecting.jsx-3029616205{background:".concat(colors.grey300, ";-webkit-animation:fadeinout 2s linear infinite;-webkit-animation:fadeinout-jsx-3029616205 2s linear infinite;animation:fadeinout-jsx-3029616205 2s linear infinite;opacity:0;}"), "@-webkit-keyframes fadeinout{50%.jsx-3029616205{opacity:1;}}", "@-webkit-keyframes fadeinout-jsx-3029616205{50%{opacity:1;}}", "@keyframes fadeinout-jsx-3029616205{50%{opacity:1;}}", ".label.jsx-3029616205{-webkit-letter-spacing:0.5px;-moz-letter-spacing:0.5px;-ms-letter-spacing:0.5px;letter-spacing:0.5px;}"];
|
|
3
|
+
_defaultExport.__hash = "3029616205";
|
|
4
4
|
export default _defaultExport;
|
|
@@ -115,10 +115,10 @@ export const ProfileMenu = _ref2 => {
|
|
|
115
115
|
} = _ref2;
|
|
116
116
|
return /*#__PURE__*/React.createElement("div", {
|
|
117
117
|
"data-test": "headerbar-profile-menu",
|
|
118
|
-
className: "jsx-
|
|
118
|
+
className: "jsx-2907613216"
|
|
119
119
|
}, /*#__PURE__*/React.createElement(ProfileContents, props), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
120
|
-
id: "
|
|
121
|
-
}, ["div.jsx-
|
|
120
|
+
id: "2907613216"
|
|
121
|
+
}, ["div.jsx-2907613216{z-index:10000;position:absolute;right:4px;width:320px;}"]));
|
|
122
122
|
};
|
|
123
123
|
ProfileMenu.propTypes = {
|
|
124
124
|
hideProfileMenu: PropTypes.func.isRequired,
|
package/build/es/profile.js
CHANGED
|
@@ -22,10 +22,10 @@ const Profile = _ref => {
|
|
|
22
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
23
23
|
ref: containerRef,
|
|
24
24
|
"data-test": "headerbar-profile",
|
|
25
|
-
className: "jsx-
|
|
25
|
+
className: "jsx-3442481507" + " " + "headerbar-profile"
|
|
26
26
|
}, /*#__PURE__*/React.createElement("button", {
|
|
27
27
|
onClick: toggleProfileMenu,
|
|
28
|
-
className: "jsx-
|
|
28
|
+
className: "jsx-3442481507" + " " + "headerbar-profile-btn"
|
|
29
29
|
}, /*#__PURE__*/React.createElement(UserAvatar, {
|
|
30
30
|
avatarId: avatarId,
|
|
31
31
|
name: name,
|
|
@@ -45,8 +45,8 @@ const Profile = _ref => {
|
|
|
45
45
|
setShowDebugInfoModal(false);
|
|
46
46
|
}
|
|
47
47
|
}), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
48
|
-
id: "
|
|
49
|
-
}, [".headerbar-profile.jsx-
|
|
48
|
+
id: "3442481507"
|
|
49
|
+
}, [".headerbar-profile.jsx-3442481507{position:relative;height:100%;}", ".headerbar-profile-btn.jsx-3442481507{background:transparent;padding:6px;border:0;cursor:pointer;}", ".headerbar-profile-btn.jsx-3442481507:focus{outline:2px solid white;outline-offset:-2px;}", ".headerbar-profile-btn.jsx-3442481507:focus.jsx-3442481507:not(:focus-visible){outline:none;}", ".headerbar-profile-btn.jsx-3442481507:hover{background:#1a557f;}", ".headerbar-profile-btn.jsx-3442481507:active{background:#104067;}"]));
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
Profile.propTypes = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/header-bar",
|
|
3
|
-
"version": "8.13.
|
|
3
|
+
"version": "8.13.4",
|
|
4
4
|
"description": "UI HeaderBar",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"styled-jsx": "^4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dhis2-ui/box": "8.13.
|
|
37
|
-
"@dhis2-ui/button": "8.13.
|
|
38
|
-
"@dhis2-ui/card": "8.13.
|
|
39
|
-
"@dhis2-ui/center": "8.13.
|
|
40
|
-
"@dhis2-ui/divider": "8.13.
|
|
41
|
-
"@dhis2-ui/input": "8.13.
|
|
42
|
-
"@dhis2-ui/layer": "8.13.
|
|
43
|
-
"@dhis2-ui/loader": "8.13.
|
|
44
|
-
"@dhis2-ui/logo": "8.13.
|
|
45
|
-
"@dhis2-ui/menu": "8.13.
|
|
46
|
-
"@dhis2-ui/modal": "8.13.
|
|
47
|
-
"@dhis2-ui/user-avatar": "8.13.
|
|
36
|
+
"@dhis2-ui/box": "8.13.4",
|
|
37
|
+
"@dhis2-ui/button": "8.13.4",
|
|
38
|
+
"@dhis2-ui/card": "8.13.4",
|
|
39
|
+
"@dhis2-ui/center": "8.13.4",
|
|
40
|
+
"@dhis2-ui/divider": "8.13.4",
|
|
41
|
+
"@dhis2-ui/input": "8.13.4",
|
|
42
|
+
"@dhis2-ui/layer": "8.13.4",
|
|
43
|
+
"@dhis2-ui/loader": "8.13.4",
|
|
44
|
+
"@dhis2-ui/logo": "8.13.4",
|
|
45
|
+
"@dhis2-ui/menu": "8.13.4",
|
|
46
|
+
"@dhis2-ui/modal": "8.13.4",
|
|
47
|
+
"@dhis2-ui/user-avatar": "8.13.4",
|
|
48
48
|
"@dhis2/prop-types": "^3.1.2",
|
|
49
|
-
"@dhis2/ui-constants": "8.13.
|
|
50
|
-
"@dhis2/ui-icons": "8.13.
|
|
49
|
+
"@dhis2/ui-constants": "8.13.4",
|
|
50
|
+
"@dhis2/ui-icons": "8.13.4",
|
|
51
51
|
"classnames": "^2.3.1",
|
|
52
52
|
"moment": "^2.29.1",
|
|
53
53
|
"prop-types": "^15.7.2"
|