@dhis2-ui/menu 8.6.4 → 8.7.1

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.
@@ -80,7 +80,7 @@ const MenuItem = _ref2 => {
80
80
  disabled,
81
81
  dense,
82
82
  active: active || showSubMenu,
83
- 'with-chevron': chevron
83
+ 'with-chevron': children || chevron
84
84
  }) || "")
85
85
  }, /*#__PURE__*/_react.default.createElement("a", {
86
86
  target: target,
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var _uiConstants = require("@dhis2/ui-constants");
9
9
 
10
- const _defaultExport = ["li.jsx-3508410433{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;padding:0;cursor:pointer;list-style:none;-webkit-transition:background-color 150ms ease-in-out;transition:background-color 150ms ease-in-out;background-color:".concat(_uiConstants.colors.white, ";color:").concat(_uiConstants.colors.grey900, ";fill:").concat(_uiConstants.colors.grey900, ";font-size:15px;line-height:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}"), "li.dense.jsx-3508410433{font-size:14px;line-height:16px;}", "li.jsx-3508410433:hover{background-color:".concat(_uiConstants.colors.grey200, ";}"), "li.jsx-3508410433:active,li.active.jsx-3508410433{background-color:".concat(_uiConstants.colors.grey400, ";}"), "li.destructive.jsx-3508410433{color:".concat(_uiConstants.colors.red700, ";fill:").concat(_uiConstants.colors.red600, ";}"), "li.destructive.jsx-3508410433:hover{background-color:".concat(_uiConstants.colors.red050, ";}"), "li.destructive.jsx-3508410433:active,li.destructive.active.jsx-3508410433{background-color:".concat(_uiConstants.colors.red100, ";}"), "li.disabled.jsx-3508410433{cursor:not-allowed;color:".concat(_uiConstants.colors.grey500, ";fill:").concat(_uiConstants.colors.grey500, ";}"), "li.disabled.jsx-3508410433:hover{background-color:".concat(_uiConstants.colors.white, ";}"), "a.jsx-3508410433{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 ".concat(_uiConstants.spacers.dp24, ";min-height:48px;-webkit-text-decoration:none;text-decoration:none;color:inherit;}"), "a.jsx-3508410433:focus{outline:3px solid ".concat(_uiConstants.theme.focus, ";outline-offset:-3px;}"), "a.jsx-3508410433:focus.jsx-3508410433:not(:focus-visible){outline:none;}", "li.with-chevron.jsx-3508410433 a.jsx-3508410433{padding-right:".concat(_uiConstants.spacers.dp8, ";}"), "li.dense.jsx-3508410433 a.jsx-3508410433{padding:0 ".concat(_uiConstants.spacers.dp12, ";min-height:32px;}"), "li.with-chevron.dense.jsx-3508410433 a.jsx-3508410433{padding-right:".concat(_uiConstants.spacers.dp4, ";}"), ".label.jsx-3508410433{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding:15px 0;}", "li.dense.jsx-3508410433 .label.jsx-3508410433{padding:8px 0;}", ".icon.jsx-3508410433{-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-right:".concat(_uiConstants.spacers.dp16, ";width:24px;height:24px;}"), ".chevron.jsx-3508410433{-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-left:".concat(_uiConstants.spacers.dp48, ";}"), "li.dense.jsx-3508410433 .icon.jsx-3508410433{margin-right:".concat(_uiConstants.spacers.dp8, ";width:16px;height:16px;}"), "li.jsx-3508410433 .icon.jsx-3508410433>svg{width:24px;height:24px;}", "li.dense.jsx-3508410433 .icon.jsx-3508410433>svg,li.jsx-3508410433 .chevron.jsx-3508410433>svg{width:16px;height:16px;}"];
11
- _defaultExport.__hash = "3508410433";
10
+ const _defaultExport = ["li.jsx-2002348738{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;padding:0;cursor:pointer;list-style:none;background-color:".concat(_uiConstants.colors.white, ";color:").concat(_uiConstants.colors.grey900, ";fill:").concat(_uiConstants.colors.grey900, ";font-size:14px;line-height:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}"), "li.jsx-2002348738:hover{background-color:".concat(_uiConstants.colors.grey200, ";}"), "li.jsx-2002348738:active,li.active.jsx-2002348738{background-color:".concat(_uiConstants.colors.grey300, ";}"), "li.destructive.jsx-2002348738{color:".concat(_uiConstants.colors.red700, ";fill:").concat(_uiConstants.colors.red600, ";}"), "li.destructive.jsx-2002348738:hover{background-color:".concat(_uiConstants.colors.red050, ";}"), "li.destructive.jsx-2002348738:active,li.destructive.active.jsx-2002348738{background-color:".concat(_uiConstants.colors.red100, ";}"), "li.disabled.jsx-2002348738{cursor:not-allowed;color:".concat(_uiConstants.colors.grey500, ";fill:").concat(_uiConstants.colors.grey500, ";}"), "li.disabled.jsx-2002348738:hover{background-color:".concat(_uiConstants.colors.white, ";}"), "a.jsx-2002348738{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 ".concat(_uiConstants.spacers.dp16, ";min-height:40px;-webkit-text-decoration:none;text-decoration:none;color:inherit;}"), "a.jsx-2002348738:focus{outline:3px solid ".concat(_uiConstants.theme.focus, ";outline-offset:-3px;}"), "a.jsx-2002348738:focus.jsx-2002348738:not(:focus-visible){outline:none;}", "li.with-chevron.jsx-2002348738 a.jsx-2002348738{padding-right:".concat(_uiConstants.spacers.dp8, ";}"), "li.dense.jsx-2002348738 a.jsx-2002348738{padding:0 ".concat(_uiConstants.spacers.dp12, ";min-height:32px;}"), "li.with-chevron.dense.jsx-2002348738 a.jsx-2002348738{padding-right:".concat(_uiConstants.spacers.dp4, ";}"), ".label.jsx-2002348738{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding:".concat(_uiConstants.spacers.dp12, " 0;}"), "li.dense.jsx-2002348738 .label.jsx-2002348738{padding:".concat(_uiConstants.spacers.dp8, " 0;}"), ".icon.jsx-2002348738{-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-right:".concat(_uiConstants.spacers.dp12, ";width:24px;height:24px;}"), ".chevron.jsx-2002348738{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-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-left:".concat(_uiConstants.spacers.dp24, ";}"), "li.dense.jsx-2002348738 .icon.jsx-2002348738{margin-right:".concat(_uiConstants.spacers.dp8, ";width:16px;height:16px;}"), "li.jsx-2002348738 .icon.jsx-2002348738>svg{width:24px;height:24px;}", "li.dense.jsx-2002348738 .icon.jsx-2002348738>svg,li.jsx-2002348738 .chevron.jsx-2002348738>svg{width:16px;height:16px;}"];
11
+ _defaultExport.__hash = "2002348738";
12
12
  var _default = _defaultExport;
13
13
  exports.default = _default;
@@ -29,17 +29,17 @@ const MenuSectionHeader = _ref => {
29
29
  } = _ref;
30
30
  return /*#__PURE__*/_react.default.createElement("li", {
31
31
  "data-test": dataTest,
32
- className: _style.default.dynamic([["954853487", [_uiConstants.colors.white, _uiConstants.spacers.dp8, _uiConstants.spacers.dp24, _uiConstants.spacers.dp12, _uiConstants.spacers.dp24, _uiConstants.colors.grey600, _uiConstants.spacers.dp8, _uiConstants.spacers.dp12, _uiConstants.spacers.dp12]]]) + " " + ((0, _classnames.default)(className, {
32
+ className: _style.default.dynamic([["1160864328", [_uiConstants.colors.white, _uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.colors.grey700, _uiConstants.spacers.dp8, _uiConstants.spacers.dp12, _uiConstants.spacers.dp4, _uiConstants.spacers.dp12]]]) + " " + ((0, _classnames.default)(className, {
33
33
  dense
34
34
  }) || "")
35
35
  }, !hideDivider && /*#__PURE__*/_react.default.createElement(_divider.Divider, {
36
36
  dense: dense
37
37
  }), /*#__PURE__*/_react.default.createElement("h6", {
38
- className: _style.default.dynamic([["954853487", [_uiConstants.colors.white, _uiConstants.spacers.dp8, _uiConstants.spacers.dp24, _uiConstants.spacers.dp12, _uiConstants.spacers.dp24, _uiConstants.colors.grey600, _uiConstants.spacers.dp8, _uiConstants.spacers.dp12, _uiConstants.spacers.dp12]]])
38
+ className: _style.default.dynamic([["1160864328", [_uiConstants.colors.white, _uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.colors.grey700, _uiConstants.spacers.dp8, _uiConstants.spacers.dp12, _uiConstants.spacers.dp4, _uiConstants.spacers.dp12]]])
39
39
  }, label), /*#__PURE__*/_react.default.createElement(_style.default, {
40
- id: "954853487",
41
- dynamic: [_uiConstants.colors.white, _uiConstants.spacers.dp8, _uiConstants.spacers.dp24, _uiConstants.spacers.dp12, _uiConstants.spacers.dp24, _uiConstants.colors.grey600, _uiConstants.spacers.dp8, _uiConstants.spacers.dp12, _uiConstants.spacers.dp12]
42
- }, ["li.__jsx-style-dynamic-selector{list-style:none;background-color:".concat(_uiConstants.colors.white, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;line-height:0;}"), "h6.__jsx-style-dynamic-selector{margin:0;padding:".concat(_uiConstants.spacers.dp8, " ").concat(_uiConstants.spacers.dp24, " ").concat(_uiConstants.spacers.dp12, " ").concat(_uiConstants.spacers.dp24, ";font-size:15px;line-height:16px;font-weight:500;color:").concat(_uiConstants.colors.grey600, ";}"), "li.dense.__jsx-style-dynamic-selector h6.__jsx-style-dynamic-selector{font-size:14px;line-height:16px;padding:".concat(_uiConstants.spacers.dp8, " ").concat(_uiConstants.spacers.dp12, " 6px ").concat(_uiConstants.spacers.dp12, ";}")]));
40
+ id: "1160864328",
41
+ dynamic: [_uiConstants.colors.white, _uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.spacers.dp8, _uiConstants.spacers.dp16, _uiConstants.colors.grey700, _uiConstants.spacers.dp8, _uiConstants.spacers.dp12, _uiConstants.spacers.dp4, _uiConstants.spacers.dp12]
42
+ }, ["li.__jsx-style-dynamic-selector{list-style:none;background-color:".concat(_uiConstants.colors.white, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;line-height:0;}"), "h6.__jsx-style-dynamic-selector{margin:0;padding:".concat(_uiConstants.spacers.dp8, " ").concat(_uiConstants.spacers.dp16, " ").concat(_uiConstants.spacers.dp8, " ").concat(_uiConstants.spacers.dp16, ";font-size:13px;line-height:16px;font-weight:500;color:").concat(_uiConstants.colors.grey700, ";}"), "li.dense.__jsx-style-dynamic-selector h6.__jsx-style-dynamic-selector{padding:".concat(_uiConstants.spacers.dp8, " ").concat(_uiConstants.spacers.dp12, " ").concat(_uiConstants.spacers.dp4, " ").concat(_uiConstants.spacers.dp12, ";}")]));
43
43
  };
44
44
 
45
45
  exports.MenuSectionHeader = MenuSectionHeader;
@@ -59,7 +59,7 @@ const MenuItem = _ref2 => {
59
59
  disabled,
60
60
  dense,
61
61
  active: active || showSubMenu,
62
- 'with-chevron': chevron
62
+ 'with-chevron': children || chevron
63
63
  }) || "")
64
64
  }, /*#__PURE__*/React.createElement("a", {
65
65
  target: target,
@@ -1,4 +1,4 @@
1
1
  import { colors, spacers, theme } from '@dhis2/ui-constants';
2
- const _defaultExport = ["li.jsx-3508410433{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;padding:0;cursor:pointer;list-style:none;-webkit-transition:background-color 150ms ease-in-out;transition:background-color 150ms ease-in-out;background-color:".concat(colors.white, ";color:").concat(colors.grey900, ";fill:").concat(colors.grey900, ";font-size:15px;line-height:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}"), "li.dense.jsx-3508410433{font-size:14px;line-height:16px;}", "li.jsx-3508410433:hover{background-color:".concat(colors.grey200, ";}"), "li.jsx-3508410433:active,li.active.jsx-3508410433{background-color:".concat(colors.grey400, ";}"), "li.destructive.jsx-3508410433{color:".concat(colors.red700, ";fill:").concat(colors.red600, ";}"), "li.destructive.jsx-3508410433:hover{background-color:".concat(colors.red050, ";}"), "li.destructive.jsx-3508410433:active,li.destructive.active.jsx-3508410433{background-color:".concat(colors.red100, ";}"), "li.disabled.jsx-3508410433{cursor:not-allowed;color:".concat(colors.grey500, ";fill:").concat(colors.grey500, ";}"), "li.disabled.jsx-3508410433:hover{background-color:".concat(colors.white, ";}"), "a.jsx-3508410433{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 ".concat(spacers.dp24, ";min-height:48px;-webkit-text-decoration:none;text-decoration:none;color:inherit;}"), "a.jsx-3508410433:focus{outline:3px solid ".concat(theme.focus, ";outline-offset:-3px;}"), "a.jsx-3508410433:focus.jsx-3508410433:not(:focus-visible){outline:none;}", "li.with-chevron.jsx-3508410433 a.jsx-3508410433{padding-right:".concat(spacers.dp8, ";}"), "li.dense.jsx-3508410433 a.jsx-3508410433{padding:0 ".concat(spacers.dp12, ";min-height:32px;}"), "li.with-chevron.dense.jsx-3508410433 a.jsx-3508410433{padding-right:".concat(spacers.dp4, ";}"), ".label.jsx-3508410433{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding:15px 0;}", "li.dense.jsx-3508410433 .label.jsx-3508410433{padding:8px 0;}", ".icon.jsx-3508410433{-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-right:".concat(spacers.dp16, ";width:24px;height:24px;}"), ".chevron.jsx-3508410433{-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-left:".concat(spacers.dp48, ";}"), "li.dense.jsx-3508410433 .icon.jsx-3508410433{margin-right:".concat(spacers.dp8, ";width:16px;height:16px;}"), "li.jsx-3508410433 .icon.jsx-3508410433>svg{width:24px;height:24px;}", "li.dense.jsx-3508410433 .icon.jsx-3508410433>svg,li.jsx-3508410433 .chevron.jsx-3508410433>svg{width:16px;height:16px;}"];
3
- _defaultExport.__hash = "3508410433";
2
+ const _defaultExport = ["li.jsx-2002348738{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;padding:0;cursor:pointer;list-style:none;background-color:".concat(colors.white, ";color:").concat(colors.grey900, ";fill:").concat(colors.grey900, ";font-size:14px;line-height:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}"), "li.jsx-2002348738:hover{background-color:".concat(colors.grey200, ";}"), "li.jsx-2002348738:active,li.active.jsx-2002348738{background-color:".concat(colors.grey300, ";}"), "li.destructive.jsx-2002348738{color:".concat(colors.red700, ";fill:").concat(colors.red600, ";}"), "li.destructive.jsx-2002348738:hover{background-color:".concat(colors.red050, ";}"), "li.destructive.jsx-2002348738:active,li.destructive.active.jsx-2002348738{background-color:".concat(colors.red100, ";}"), "li.disabled.jsx-2002348738{cursor:not-allowed;color:".concat(colors.grey500, ";fill:").concat(colors.grey500, ";}"), "li.disabled.jsx-2002348738:hover{background-color:".concat(colors.white, ";}"), "a.jsx-2002348738{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 ".concat(spacers.dp16, ";min-height:40px;-webkit-text-decoration:none;text-decoration:none;color:inherit;}"), "a.jsx-2002348738:focus{outline:3px solid ".concat(theme.focus, ";outline-offset:-3px;}"), "a.jsx-2002348738:focus.jsx-2002348738:not(:focus-visible){outline:none;}", "li.with-chevron.jsx-2002348738 a.jsx-2002348738{padding-right:".concat(spacers.dp8, ";}"), "li.dense.jsx-2002348738 a.jsx-2002348738{padding:0 ".concat(spacers.dp12, ";min-height:32px;}"), "li.with-chevron.dense.jsx-2002348738 a.jsx-2002348738{padding-right:".concat(spacers.dp4, ";}"), ".label.jsx-2002348738{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding:".concat(spacers.dp12, " 0;}"), "li.dense.jsx-2002348738 .label.jsx-2002348738{padding:".concat(spacers.dp8, " 0;}"), ".icon.jsx-2002348738{-webkit-box-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-right:".concat(spacers.dp12, ";width:24px;height:24px;}"), ".chevron.jsx-2002348738{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-flex:0;-webkit-flex-grow:0;-ms-flex-positive:0;flex-grow:0;margin-left:".concat(spacers.dp24, ";}"), "li.dense.jsx-2002348738 .icon.jsx-2002348738{margin-right:".concat(spacers.dp8, ";width:16px;height:16px;}"), "li.jsx-2002348738 .icon.jsx-2002348738>svg{width:24px;height:24px;}", "li.dense.jsx-2002348738 .icon.jsx-2002348738>svg,li.jsx-2002348738 .chevron.jsx-2002348738>svg{width:16px;height:16px;}"];
3
+ _defaultExport.__hash = "2002348738";
4
4
  export default _defaultExport;
@@ -15,17 +15,17 @@ const MenuSectionHeader = _ref => {
15
15
  } = _ref;
16
16
  return /*#__PURE__*/React.createElement("li", {
17
17
  "data-test": dataTest,
18
- className: _JSXStyle.dynamic([["954853487", [colors.white, spacers.dp8, spacers.dp24, spacers.dp12, spacers.dp24, colors.grey600, spacers.dp8, spacers.dp12, spacers.dp12]]]) + " " + (cx(className, {
18
+ className: _JSXStyle.dynamic([["1160864328", [colors.white, spacers.dp8, spacers.dp16, spacers.dp8, spacers.dp16, colors.grey700, spacers.dp8, spacers.dp12, spacers.dp4, spacers.dp12]]]) + " " + (cx(className, {
19
19
  dense
20
20
  }) || "")
21
21
  }, !hideDivider && /*#__PURE__*/React.createElement(Divider, {
22
22
  dense: dense
23
23
  }), /*#__PURE__*/React.createElement("h6", {
24
- className: _JSXStyle.dynamic([["954853487", [colors.white, spacers.dp8, spacers.dp24, spacers.dp12, spacers.dp24, colors.grey600, spacers.dp8, spacers.dp12, spacers.dp12]]])
24
+ className: _JSXStyle.dynamic([["1160864328", [colors.white, spacers.dp8, spacers.dp16, spacers.dp8, spacers.dp16, colors.grey700, spacers.dp8, spacers.dp12, spacers.dp4, spacers.dp12]]])
25
25
  }, label), /*#__PURE__*/React.createElement(_JSXStyle, {
26
- id: "954853487",
27
- dynamic: [colors.white, spacers.dp8, spacers.dp24, spacers.dp12, spacers.dp24, colors.grey600, spacers.dp8, spacers.dp12, spacers.dp12]
28
- }, ["li.__jsx-style-dynamic-selector{list-style:none;background-color:".concat(colors.white, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;line-height:0;}"), "h6.__jsx-style-dynamic-selector{margin:0;padding:".concat(spacers.dp8, " ").concat(spacers.dp24, " ").concat(spacers.dp12, " ").concat(spacers.dp24, ";font-size:15px;line-height:16px;font-weight:500;color:").concat(colors.grey600, ";}"), "li.dense.__jsx-style-dynamic-selector h6.__jsx-style-dynamic-selector{font-size:14px;line-height:16px;padding:".concat(spacers.dp8, " ").concat(spacers.dp12, " 6px ").concat(spacers.dp12, ";}")]));
26
+ id: "1160864328",
27
+ dynamic: [colors.white, spacers.dp8, spacers.dp16, spacers.dp8, spacers.dp16, colors.grey700, spacers.dp8, spacers.dp12, spacers.dp4, spacers.dp12]
28
+ }, ["li.__jsx-style-dynamic-selector{list-style:none;background-color:".concat(colors.white, ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;line-height:0;}"), "h6.__jsx-style-dynamic-selector{margin:0;padding:".concat(spacers.dp8, " ").concat(spacers.dp16, " ").concat(spacers.dp8, " ").concat(spacers.dp16, ";font-size:13px;line-height:16px;font-weight:500;color:").concat(colors.grey700, ";}"), "li.dense.__jsx-style-dynamic-selector h6.__jsx-style-dynamic-selector{padding:".concat(spacers.dp8, " ").concat(spacers.dp12, " ").concat(spacers.dp4, " ").concat(spacers.dp12, ";}")]));
29
29
  };
30
30
 
31
31
  MenuSectionHeader.defaultProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/menu",
3
- "version": "8.6.4",
3
+ "version": "8.7.1",
4
4
  "description": "UI Menu",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@dhis2/prop-types": "^3.1.2",
35
- "@dhis2-ui/card": "8.6.4",
36
- "@dhis2-ui/divider": "8.6.4",
37
- "@dhis2-ui/layer": "8.6.4",
38
- "@dhis2-ui/popper": "8.6.4",
39
- "@dhis2-ui/portal": "8.6.4",
40
- "@dhis2/ui-constants": "8.6.4",
41
- "@dhis2/ui-icons": "8.6.4",
35
+ "@dhis2-ui/card": "8.7.1",
36
+ "@dhis2-ui/divider": "8.7.1",
37
+ "@dhis2-ui/layer": "8.7.1",
38
+ "@dhis2-ui/popper": "8.7.1",
39
+ "@dhis2-ui/portal": "8.7.1",
40
+ "@dhis2/ui-constants": "8.7.1",
41
+ "@dhis2/ui-icons": "8.7.1",
42
42
  "classnames": "^2.3.1",
43
43
  "prop-types": "^15.7.2"
44
44
  },