@dhis2-ui/menu 6.23.5 → 6.25.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.
|
@@ -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-
|
|
11
|
-
_defaultExport.__hash = "
|
|
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:${_uiConstants.colors.white};color:${_uiConstants.colors.grey900};fill:${_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:${_uiConstants.colors.grey200};}`, `li.jsx-3508410433:active,li.active.jsx-3508410433{background-color:${_uiConstants.colors.grey400};}`, `li.destructive.jsx-3508410433{color:${_uiConstants.colors.red700};fill:${_uiConstants.colors.red600};}`, `li.destructive.jsx-3508410433:hover{background-color:${_uiConstants.colors.red050};}`, `li.destructive.jsx-3508410433:active,li.destructive.active.jsx-3508410433{background-color:${_uiConstants.colors.red100};}`, `li.disabled.jsx-3508410433{cursor:not-allowed;color:${_uiConstants.colors.grey500};fill:${_uiConstants.colors.grey500};}`, `li.disabled.jsx-3508410433:hover{background-color:${_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 ${_uiConstants.spacers.dp24};min-height:48px;-webkit-text-decoration:none;text-decoration:none;color:inherit;}`, `a.jsx-3508410433:focus{outline:3px solid ${_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:${_uiConstants.spacers.dp8};}`, `li.dense.jsx-3508410433 a.jsx-3508410433{padding:0 ${_uiConstants.spacers.dp12};min-height:32px;}`, `li.with-chevron.dense.jsx-3508410433 a.jsx-3508410433{padding-right:${_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:${_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:${_uiConstants.spacers.dp48};}`, `li.dense.jsx-3508410433 .icon.jsx-3508410433{margin-right:${_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";
|
|
12
12
|
var _default = _defaultExport;
|
|
13
13
|
exports.default = _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { colors, spacers } from '@dhis2/ui-constants';
|
|
2
|
-
const _defaultExport = [`li.jsx-
|
|
3
|
-
_defaultExport.__hash = "
|
|
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:${colors.white};color:${colors.grey900};fill:${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:${colors.grey200};}`, `li.jsx-3508410433:active,li.active.jsx-3508410433{background-color:${colors.grey400};}`, `li.destructive.jsx-3508410433{color:${colors.red700};fill:${colors.red600};}`, `li.destructive.jsx-3508410433:hover{background-color:${colors.red050};}`, `li.destructive.jsx-3508410433:active,li.destructive.active.jsx-3508410433{background-color:${colors.red100};}`, `li.disabled.jsx-3508410433{cursor:not-allowed;color:${colors.grey500};fill:${colors.grey500};}`, `li.disabled.jsx-3508410433:hover{background-color:${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 ${spacers.dp24};min-height:48px;-webkit-text-decoration:none;text-decoration:none;color:inherit;}`, `a.jsx-3508410433:focus{outline:3px solid ${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:${spacers.dp8};}`, `li.dense.jsx-3508410433 a.jsx-3508410433{padding:0 ${spacers.dp12};min-height:32px;}`, `li.with-chevron.dense.jsx-3508410433 a.jsx-3508410433{padding-right:${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:${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:${spacers.dp48};}`, `li.dense.jsx-3508410433 .icon.jsx-3508410433{margin-right:${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";
|
|
4
4
|
export default _defaultExport;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/menu",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.25.0",
|
|
4
4
|
"description": "UI Menu",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": "^16.8",
|
|
30
30
|
"react-dom": "^16.8",
|
|
31
|
-
"styled-jsx": "^
|
|
31
|
+
"styled-jsx": "^4"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@dhis2-ui/card": "6.
|
|
35
|
-
"@dhis2-ui/divider": "6.
|
|
36
|
-
"@dhis2-ui/layer": "6.
|
|
37
|
-
"@dhis2-ui/popper": "6.
|
|
38
|
-
"@dhis2-ui/portal": "6.
|
|
34
|
+
"@dhis2-ui/card": "6.25.0",
|
|
35
|
+
"@dhis2-ui/divider": "6.25.0",
|
|
36
|
+
"@dhis2-ui/layer": "6.25.0",
|
|
37
|
+
"@dhis2-ui/popper": "6.25.0",
|
|
38
|
+
"@dhis2-ui/portal": "6.25.0",
|
|
39
39
|
"@dhis2/prop-types": "^1.6.4",
|
|
40
|
-
"@dhis2/ui-constants": "6.
|
|
41
|
-
"@dhis2/ui-icons": "6.
|
|
40
|
+
"@dhis2/ui-constants": "6.25.0",
|
|
41
|
+
"@dhis2/ui-icons": "6.25.0",
|
|
42
42
|
"classnames": "^2.3.1",
|
|
43
43
|
"prop-types": "^15.7.2"
|
|
44
44
|
},
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"react": "16.13",
|
|
50
50
|
"react-dom": "16.13",
|
|
51
|
-
"styled-jsx": "^
|
|
51
|
+
"styled-jsx": "^4.0.1"
|
|
52
52
|
}
|
|
53
53
|
}
|